AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Action.h
1
6#pragma once
7#include <aws/appconfig/AppConfig_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AppConfig
22{
23namespace Model
24{
25
44 class Action
45 {
46 public:
47 AWS_APPCONFIG_API Action() = default;
48 AWS_APPCONFIG_API Action(Aws::Utils::Json::JsonView jsonValue);
49 AWS_APPCONFIG_API Action& operator=(Aws::Utils::Json::JsonView jsonValue);
50 AWS_APPCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const;
51
52
54
57 inline const Aws::String& GetName() const { return m_name; }
58 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
59 template<typename NameT = Aws::String>
60 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
61 template<typename NameT = Aws::String>
62 Action& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
64
66
69 inline const Aws::String& GetDescription() const { return m_description; }
70 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
71 template<typename DescriptionT = Aws::String>
72 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
73 template<typename DescriptionT = Aws::String>
74 Action& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
76
78
84 inline const Aws::String& GetUri() const { return m_uri; }
85 inline bool UriHasBeenSet() const { return m_uriHasBeenSet; }
86 template<typename UriT = Aws::String>
87 void SetUri(UriT&& value) { m_uriHasBeenSet = true; m_uri = std::forward<UriT>(value); }
88 template<typename UriT = Aws::String>
89 Action& WithUri(UriT&& value) { SetUri(std::forward<UriT>(value)); return *this;}
91
93
97 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
98 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
99 template<typename RoleArnT = Aws::String>
100 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
101 template<typename RoleArnT = Aws::String>
102 Action& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
104 private:
105
106 Aws::String m_name;
107 bool m_nameHasBeenSet = false;
108
109 Aws::String m_description;
110 bool m_descriptionHasBeenSet = false;
111
112 Aws::String m_uri;
113 bool m_uriHasBeenSet = false;
114
115 Aws::String m_roleArn;
116 bool m_roleArnHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace AppConfig
121} // namespace Aws
bool NameHasBeenSet() const
Definition Action.h:58
const Aws::String & GetRoleArn() const
Definition Action.h:97
const Aws::String & GetUri() const
Definition Action.h:84
AWS_APPCONFIG_API Action & operator=(Aws::Utils::Json::JsonView jsonValue)
bool UriHasBeenSet() const
Definition Action.h:85
Action & WithUri(UriT &&value)
Definition Action.h:89
AWS_APPCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRoleArn(RoleArnT &&value)
Definition Action.h:100
AWS_APPCONFIG_API Action(Aws::Utils::Json::JsonView jsonValue)
bool RoleArnHasBeenSet() const
Definition Action.h:98
void SetName(NameT &&value)
Definition Action.h:60
bool DescriptionHasBeenSet() const
Definition Action.h:70
const Aws::String & GetName() const
Definition Action.h:57
const Aws::String & GetDescription() const
Definition Action.h:69
void SetUri(UriT &&value)
Definition Action.h:87
void SetDescription(DescriptionT &&value)
Definition Action.h:72
AWS_APPCONFIG_API Action()=default
Action & WithRoleArn(RoleArnT &&value)
Definition Action.h:102
Action & WithName(NameT &&value)
Definition Action.h:62
Action & WithDescription(DescriptionT &&value)
Definition Action.h:74
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue