Lesson 35 - Get Compute Auth Token Working
This commit is contained in:
@@ -0,0 +1,79 @@
|
||||
/**
|
||||
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* SPDX-License-Identifier: Apache-2.0.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include <aws/ecr/ECR_EXPORTS.h>
|
||||
#include <aws/core/utils/memory/stl/AWSString.h>
|
||||
#include <utility>
|
||||
|
||||
namespace Aws
|
||||
{
|
||||
namespace Utils
|
||||
{
|
||||
namespace Json
|
||||
{
|
||||
class JsonValue;
|
||||
class JsonView;
|
||||
} // namespace Json
|
||||
} // namespace Utils
|
||||
namespace ECR
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
|
||||
/**
|
||||
* <p>Details about the recommended course of action to remediate the
|
||||
* finding.</p><p><h3>See Also:</h3> <a
|
||||
* href="http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/Recommendation">AWS
|
||||
* API Reference</a></p>
|
||||
*/
|
||||
class Recommendation
|
||||
{
|
||||
public:
|
||||
AWS_ECR_API Recommendation();
|
||||
AWS_ECR_API Recommendation(Aws::Utils::Json::JsonView jsonValue);
|
||||
AWS_ECR_API Recommendation& operator=(Aws::Utils::Json::JsonView jsonValue);
|
||||
AWS_ECR_API Aws::Utils::Json::JsonValue Jsonize() const;
|
||||
|
||||
|
||||
///@{
|
||||
/**
|
||||
* <p>The URL address to the CVE remediation recommendations.</p>
|
||||
*/
|
||||
inline const Aws::String& GetUrl() const{ return m_url; }
|
||||
inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
|
||||
inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; }
|
||||
inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); }
|
||||
inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); }
|
||||
inline Recommendation& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
|
||||
inline Recommendation& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
|
||||
inline Recommendation& WithUrl(const char* value) { SetUrl(value); return *this;}
|
||||
///@}
|
||||
|
||||
///@{
|
||||
/**
|
||||
* <p>The recommended course of action to remediate the finding.</p>
|
||||
*/
|
||||
inline const Aws::String& GetText() const{ return m_text; }
|
||||
inline bool TextHasBeenSet() const { return m_textHasBeenSet; }
|
||||
inline void SetText(const Aws::String& value) { m_textHasBeenSet = true; m_text = value; }
|
||||
inline void SetText(Aws::String&& value) { m_textHasBeenSet = true; m_text = std::move(value); }
|
||||
inline void SetText(const char* value) { m_textHasBeenSet = true; m_text.assign(value); }
|
||||
inline Recommendation& WithText(const Aws::String& value) { SetText(value); return *this;}
|
||||
inline Recommendation& WithText(Aws::String&& value) { SetText(std::move(value)); return *this;}
|
||||
inline Recommendation& WithText(const char* value) { SetText(value); return *this;}
|
||||
///@}
|
||||
private:
|
||||
|
||||
Aws::String m_url;
|
||||
bool m_urlHasBeenSet = false;
|
||||
|
||||
Aws::String m_text;
|
||||
bool m_textHasBeenSet = false;
|
||||
};
|
||||
|
||||
} // namespace Model
|
||||
} // namespace ECR
|
||||
} // namespace Aws
|
||||
Reference in New Issue
Block a user