AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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#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
33 {
34 public:
35 AWS_APPCONFIG_API ExtensionSummary();
36 AWS_APPCONFIG_API ExtensionSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_APPCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetId() const{ return m_id; }
46 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
47 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
48 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
49 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
50 inline ExtensionSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
51 inline ExtensionSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
52 inline ExtensionSummary& WithId(const char* value) { SetId(value); return *this;}
54
56
59 inline const Aws::String& GetName() const{ return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
62 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
63 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
64 inline ExtensionSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
65 inline ExtensionSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
66 inline ExtensionSummary& WithName(const char* value) { SetName(value); return *this;}
68
70
73 inline int GetVersionNumber() const{ return m_versionNumber; }
74 inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
75 inline void SetVersionNumber(int value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; }
76 inline ExtensionSummary& WithVersionNumber(int value) { SetVersionNumber(value); return *this;}
78
80
83 inline const Aws::String& GetArn() const{ return m_arn; }
84 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
85 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
86 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
87 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
88 inline ExtensionSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
89 inline ExtensionSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
90 inline ExtensionSummary& WithArn(const char* value) { SetArn(value); return *this;}
92
94
97 inline const Aws::String& GetDescription() const{ return m_description; }
98 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
99 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
100 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
101 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
102 inline ExtensionSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
103 inline ExtensionSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
104 inline ExtensionSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
106 private:
107
108 Aws::String m_id;
109 bool m_idHasBeenSet = false;
110
111 Aws::String m_name;
112 bool m_nameHasBeenSet = false;
113
114 int m_versionNumber;
115 bool m_versionNumberHasBeenSet = false;
116
117 Aws::String m_arn;
118 bool m_arnHasBeenSet = false;
119
120 Aws::String m_description;
121 bool m_descriptionHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace AppConfig
126} // namespace Aws
AWS_APPCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDescription(const Aws::String &value)
ExtensionSummary & WithName(const Aws::String &value)
void SetArn(const Aws::String &value)
ExtensionSummary & WithDescription(const Aws::String &value)
AWS_APPCONFIG_API ExtensionSummary(Aws::Utils::Json::JsonView jsonValue)
ExtensionSummary & WithArn(const Aws::String &value)
void SetId(const Aws::String &value)
ExtensionSummary & WithName(const char *value)
ExtensionSummary & WithId(const Aws::String &value)
ExtensionSummary & WithName(Aws::String &&value)
ExtensionSummary & WithDescription(Aws::String &&value)
ExtensionSummary & WithArn(const char *value)
ExtensionSummary & WithVersionNumber(int value)
void SetName(const Aws::String &value)
const Aws::String & GetName() const
AWS_APPCONFIG_API ExtensionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ExtensionSummary & WithDescription(const char *value)
ExtensionSummary & WithId(Aws::String &&value)
const Aws::String & GetDescription() const
ExtensionSummary & WithId(const char *value)
ExtensionSummary & WithArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue