AWS SDK for C++  1.9.110
AWS SDK for C++
Application.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace AppConfig
22 {
23 namespace Model
24 {
25 
27  {
28  public:
33 
34 
38  inline const Aws::String& GetId() const{ return m_id; }
39 
43  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
44 
48  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
49 
53  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
54 
58  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
59 
63  inline Application& WithId(const Aws::String& value) { SetId(value); return *this;}
64 
68  inline Application& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
69 
73  inline Application& WithId(const char* value) { SetId(value); return *this;}
74 
75 
79  inline const Aws::String& GetName() const{ return m_name; }
80 
84  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
85 
89  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
90 
94  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
95 
99  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
100 
104  inline Application& WithName(const Aws::String& value) { SetName(value); return *this;}
105 
109  inline Application& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
110 
114  inline Application& WithName(const char* value) { SetName(value); return *this;}
115 
116 
120  inline const Aws::String& GetDescription() const{ return m_description; }
121 
125  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
126 
130  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
131 
135  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
136 
140  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
141 
145  inline Application& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
146 
150  inline Application& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
151 
155  inline Application& WithDescription(const char* value) { SetDescription(value); return *this;}
156 
157  private:
158 
159  Aws::String m_id;
160  bool m_idHasBeenSet;
161 
162  Aws::String m_name;
163  bool m_nameHasBeenSet;
164 
165  Aws::String m_description;
166  bool m_descriptionHasBeenSet;
167  };
168 
169 } // namespace Model
170 } // namespace AppConfig
171 } // namespace Aws
Aws::AppConfig::Model::Application::WithId
Application & WithId(Aws::String &&value)
Definition: Application.h:68
Aws::AppConfig::Model::Application::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: Application.h:125
Aws::AppConfig::Model::Application::GetDescription
const Aws::String & GetDescription() const
Definition: Application.h:120
Aws::AppConfig::Model::Application::WithId
Application & WithId(const Aws::String &value)
Definition: Application.h:63
Aws::AppConfig::Model::Application::SetDescription
void SetDescription(const Aws::String &value)
Definition: Application.h:130
Aws::AppConfig::Model::Application::IdHasBeenSet
bool IdHasBeenSet() const
Definition: Application.h:43
Aws::AppConfig::Model::Application::SetName
void SetName(const char *value)
Definition: Application.h:99
Aws::AppConfig::Model::Application::Application
Application()
Aws::AppConfig::Model::Application::WithId
Application & WithId(const char *value)
Definition: Application.h:73
Aws::AppConfig::Model::Application::NameHasBeenSet
bool NameHasBeenSet() const
Definition: Application.h:84
Aws::AppConfig::Model::Application::SetDescription
void SetDescription(const char *value)
Definition: Application.h:140
Aws::AppConfig::Model::Application::SetId
void SetId(const char *value)
Definition: Application.h:58
Aws::AppConfig::Model::Application::Application
Application(Aws::Utils::Json::JsonView jsonValue)
Aws::AppConfig::Model::Application::SetDescription
void SetDescription(Aws::String &&value)
Definition: Application.h:135
Aws::AppConfig::Model::Application::SetName
void SetName(const Aws::String &value)
Definition: Application.h:89
AppConfig_EXPORTS.h
Aws::AppConfig::Model::Application::SetId
void SetId(Aws::String &&value)
Definition: Application.h:53
Aws::AppConfig::Model::Application::SetName
void SetName(Aws::String &&value)
Definition: Application.h:94
Aws::AppConfig::Model::Application::GetId
const Aws::String & GetId() const
Definition: Application.h:38
Aws::AppConfig::Model::Application::WithDescription
Application & WithDescription(const char *value)
Definition: Application.h:155
Aws::AppConfig::Model::Application::GetName
const Aws::String & GetName() const
Definition: Application.h:79
Aws::AppConfig::Model::Application
Definition: Application.h:27
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppConfig::Model::Application::WithDescription
Application & WithDescription(Aws::String &&value)
Definition: Application.h:150
Aws::AppConfig::Model::Application::WithDescription
Application & WithDescription(const Aws::String &value)
Definition: Application.h:145
Aws::AppConfig::Model::Application::WithName
Application & WithName(const Aws::String &value)
Definition: Application.h:104
Aws::AppConfig::Model::Application::SetId
void SetId(const Aws::String &value)
Definition: Application.h:48
Aws::AppConfig::Model::Application::operator=
Application & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppConfig::Model::Application::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws
Definition: AccessManagementClient.h:15
Aws::AppConfig::Model::Application::WithName
Application & WithName(Aws::String &&value)
Definition: Application.h:109
Aws::AppConfig::Model::Application::WithName
Application & WithName(const char *value)
Definition: Application.h:114
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_APPCONFIG_API
#define AWS_APPCONFIG_API
Definition: AppConfig_EXPORTS.h:28