AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
ExtensionSummary.h
1
6#pragma once
7#include <aws/appconfig/AppConfig_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AppConfig {
20namespace Model {
21
29 public:
30 AWS_APPCONFIG_API ExtensionSummary() = default;
31 AWS_APPCONFIG_API ExtensionSummary(Aws::Utils::Json::JsonView jsonValue);
33 AWS_APPCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetId() const { return m_id; }
40 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
41 template <typename IdT = Aws::String>
42 void SetId(IdT&& value) {
43 m_idHasBeenSet = true;
44 m_id = std::forward<IdT>(value);
45 }
46 template <typename IdT = Aws::String>
47 ExtensionSummary& WithId(IdT&& value) {
48 SetId(std::forward<IdT>(value));
49 return *this;
50 }
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) {
61 m_nameHasBeenSet = true;
62 m_name = std::forward<NameT>(value);
63 }
64 template <typename NameT = Aws::String>
65 ExtensionSummary& WithName(NameT&& value) {
66 SetName(std::forward<NameT>(value));
67 return *this;
68 }
70
72
75 inline int GetVersionNumber() const { return m_versionNumber; }
76 inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
77 inline void SetVersionNumber(int value) {
78 m_versionNumberHasBeenSet = true;
79 m_versionNumber = value;
80 }
82 SetVersionNumber(value);
83 return *this;
84 }
86
88
91 inline const Aws::String& GetArn() const { return m_arn; }
92 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
93 template <typename ArnT = Aws::String>
94 void SetArn(ArnT&& value) {
95 m_arnHasBeenSet = true;
96 m_arn = std::forward<ArnT>(value);
97 }
98 template <typename ArnT = Aws::String>
99 ExtensionSummary& WithArn(ArnT&& value) {
100 SetArn(std::forward<ArnT>(value));
101 return *this;
102 }
104
106
109 inline const Aws::String& GetDescription() const { return m_description; }
110 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
111 template <typename DescriptionT = Aws::String>
112 void SetDescription(DescriptionT&& value) {
113 m_descriptionHasBeenSet = true;
114 m_description = std::forward<DescriptionT>(value);
115 }
116 template <typename DescriptionT = Aws::String>
117 ExtensionSummary& WithDescription(DescriptionT&& value) {
118 SetDescription(std::forward<DescriptionT>(value));
119 return *this;
120 }
122 private:
123 Aws::String m_id;
124
125 Aws::String m_name;
126
127 int m_versionNumber{0};
128
129 Aws::String m_arn;
130
131 Aws::String m_description;
132 bool m_idHasBeenSet = false;
133 bool m_nameHasBeenSet = false;
134 bool m_versionNumberHasBeenSet = false;
135 bool m_arnHasBeenSet = false;
136 bool m_descriptionHasBeenSet = false;
137};
138
139} // namespace Model
140} // namespace AppConfig
141} // namespace Aws
AWS_APPCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPCONFIG_API ExtensionSummary()=default
void SetDescription(DescriptionT &&value)
ExtensionSummary & WithId(IdT &&value)
AWS_APPCONFIG_API ExtensionSummary(Aws::Utils::Json::JsonView jsonValue)
ExtensionSummary & WithArn(ArnT &&value)
ExtensionSummary & WithDescription(DescriptionT &&value)
ExtensionSummary & WithVersionNumber(int value)
const Aws::String & GetName() const
AWS_APPCONFIG_API ExtensionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDescription() const
ExtensionSummary & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue