AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Application.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
27 {
28 public:
29 AWS_APPCONFIG_API Application();
30 AWS_APPCONFIG_API Application(Aws::Utils::Json::JsonView jsonValue);
31 AWS_APPCONFIG_API Application& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_APPCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const;
33
34
36
39 inline const Aws::String& GetId() const{ return m_id; }
40 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
41 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
42 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
43 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
44 inline Application& WithId(const Aws::String& value) { SetId(value); return *this;}
45 inline Application& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
46 inline Application& WithId(const char* value) { SetId(value); return *this;}
48
50
53 inline const Aws::String& GetName() const{ return m_name; }
54 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
55 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
56 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
57 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
58 inline Application& WithName(const Aws::String& value) { SetName(value); return *this;}
59 inline Application& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
60 inline Application& WithName(const char* value) { SetName(value); return *this;}
62
64
67 inline const Aws::String& GetDescription() const{ return m_description; }
68 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
69 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
70 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
71 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
72 inline Application& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
73 inline Application& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
74 inline Application& WithDescription(const char* value) { SetDescription(value); return *this;}
76
78
79 inline const Aws::String& GetRequestId() const{ return m_requestId; }
80 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
81 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
82 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
83 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
84 inline Application& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
85 inline Application& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
86 inline Application& WithRequestId(const char* value) { SetRequestId(value); return *this;}
88 private:
89
90 Aws::String m_id;
91 bool m_idHasBeenSet = false;
92
93 Aws::String m_name;
94 bool m_nameHasBeenSet = false;
95
96 Aws::String m_description;
97 bool m_descriptionHasBeenSet = false;
98
99 Aws::String m_requestId;
100 bool m_requestIdHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace AppConfig
105} // namespace Aws
void SetId(Aws::String &&value)
Definition Application.h:42
const Aws::String & GetId() const
Definition Application.h:39
void SetDescription(Aws::String &&value)
Definition Application.h:70
void SetRequestId(const char *value)
Definition Application.h:83
Application & WithDescription(const char *value)
Definition Application.h:74
void SetId(const Aws::String &value)
Definition Application.h:41
AWS_APPCONFIG_API Application(Aws::Utils::Json::JsonView jsonValue)
Application & WithDescription(const Aws::String &value)
Definition Application.h:72
void SetId(const char *value)
Definition Application.h:43
void SetRequestId(const Aws::String &value)
Definition Application.h:81
Application & WithDescription(Aws::String &&value)
Definition Application.h:73
Application & WithRequestId(const Aws::String &value)
Definition Application.h:84
AWS_APPCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDescription() const
Definition Application.h:67
const Aws::String & GetRequestId() const
Definition Application.h:79
Application & WithId(const Aws::String &value)
Definition Application.h:44
Application & WithName(const char *value)
Definition Application.h:60
void SetName(const Aws::String &value)
Definition Application.h:55
Application & WithId(Aws::String &&value)
Definition Application.h:45
Application & WithName(const Aws::String &value)
Definition Application.h:58
Application & WithName(Aws::String &&value)
Definition Application.h:59
const Aws::String & GetName() const
Definition Application.h:53
void SetName(const char *value)
Definition Application.h:57
void SetName(Aws::String &&value)
Definition Application.h:56
void SetRequestId(Aws::String &&value)
Definition Application.h:82
Application & WithRequestId(Aws::String &&value)
Definition Application.h:85
Application & WithRequestId(const char *value)
Definition Application.h:86
Application & WithId(const char *value)
Definition Application.h:46
void SetDescription(const Aws::String &value)
Definition Application.h:69
AWS_APPCONFIG_API Application & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(const char *value)
Definition Application.h:71
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue