AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConfigurationProfileSummary.h
1
6#pragma once
7#include <aws/appconfig/AppConfig_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/appconfig/model/ValidatorType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace AppConfig
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_APPCONFIG_API ConfigurationProfileSummary();
39 AWS_APPCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
47 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
48 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
49 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
50 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
51 inline ConfigurationProfileSummary& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
52 inline ConfigurationProfileSummary& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
53 inline ConfigurationProfileSummary& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
55
57
60 inline const Aws::String& GetId() const{ return m_id; }
61 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
62 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
63 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
64 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
65 inline ConfigurationProfileSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
66 inline ConfigurationProfileSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
67 inline ConfigurationProfileSummary& WithId(const char* value) { SetId(value); return *this;}
69
71
74 inline const Aws::String& GetName() const{ return m_name; }
75 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
76 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
77 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
78 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
79 inline ConfigurationProfileSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
80 inline ConfigurationProfileSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
81 inline ConfigurationProfileSummary& WithName(const char* value) { SetName(value); return *this;}
83
85
88 inline const Aws::String& GetLocationUri() const{ return m_locationUri; }
89 inline bool LocationUriHasBeenSet() const { return m_locationUriHasBeenSet; }
90 inline void SetLocationUri(const Aws::String& value) { m_locationUriHasBeenSet = true; m_locationUri = value; }
91 inline void SetLocationUri(Aws::String&& value) { m_locationUriHasBeenSet = true; m_locationUri = std::move(value); }
92 inline void SetLocationUri(const char* value) { m_locationUriHasBeenSet = true; m_locationUri.assign(value); }
93 inline ConfigurationProfileSummary& WithLocationUri(const Aws::String& value) { SetLocationUri(value); return *this;}
94 inline ConfigurationProfileSummary& WithLocationUri(Aws::String&& value) { SetLocationUri(std::move(value)); return *this;}
95 inline ConfigurationProfileSummary& WithLocationUri(const char* value) { SetLocationUri(value); return *this;}
97
99
102 inline const Aws::Vector<ValidatorType>& GetValidatorTypes() const{ return m_validatorTypes; }
103 inline bool ValidatorTypesHasBeenSet() const { return m_validatorTypesHasBeenSet; }
104 inline void SetValidatorTypes(const Aws::Vector<ValidatorType>& value) { m_validatorTypesHasBeenSet = true; m_validatorTypes = value; }
105 inline void SetValidatorTypes(Aws::Vector<ValidatorType>&& value) { m_validatorTypesHasBeenSet = true; m_validatorTypes = std::move(value); }
108 inline ConfigurationProfileSummary& AddValidatorTypes(const ValidatorType& value) { m_validatorTypesHasBeenSet = true; m_validatorTypes.push_back(value); return *this; }
109 inline ConfigurationProfileSummary& AddValidatorTypes(ValidatorType&& value) { m_validatorTypesHasBeenSet = true; m_validatorTypes.push_back(std::move(value)); return *this; }
111
113
122 inline const Aws::String& GetType() const{ return m_type; }
123 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
124 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
125 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
126 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
127 inline ConfigurationProfileSummary& WithType(const Aws::String& value) { SetType(value); return *this;}
128 inline ConfigurationProfileSummary& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
129 inline ConfigurationProfileSummary& WithType(const char* value) { SetType(value); return *this;}
131 private:
132
133 Aws::String m_applicationId;
134 bool m_applicationIdHasBeenSet = false;
135
136 Aws::String m_id;
137 bool m_idHasBeenSet = false;
138
139 Aws::String m_name;
140 bool m_nameHasBeenSet = false;
141
142 Aws::String m_locationUri;
143 bool m_locationUriHasBeenSet = false;
144
145 Aws::Vector<ValidatorType> m_validatorTypes;
146 bool m_validatorTypesHasBeenSet = false;
147
148 Aws::String m_type;
149 bool m_typeHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace AppConfig
154} // namespace Aws
ConfigurationProfileSummary & WithValidatorTypes(const Aws::Vector< ValidatorType > &value)
ConfigurationProfileSummary & WithType(const char *value)
ConfigurationProfileSummary & AddValidatorTypes(ValidatorType &&value)
void SetValidatorTypes(Aws::Vector< ValidatorType > &&value)
ConfigurationProfileSummary & WithApplicationId(const char *value)
ConfigurationProfileSummary & WithLocationUri(const char *value)
AWS_APPCONFIG_API ConfigurationProfileSummary(Aws::Utils::Json::JsonView jsonValue)
ConfigurationProfileSummary & AddValidatorTypes(const ValidatorType &value)
ConfigurationProfileSummary & WithApplicationId(Aws::String &&value)
AWS_APPCONFIG_API ConfigurationProfileSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ConfigurationProfileSummary & WithType(const Aws::String &value)
ConfigurationProfileSummary & WithId(const char *value)
void SetValidatorTypes(const Aws::Vector< ValidatorType > &value)
AWS_APPCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const
ConfigurationProfileSummary & WithId(Aws::String &&value)
const Aws::Vector< ValidatorType > & GetValidatorTypes() const
ConfigurationProfileSummary & WithApplicationId(const Aws::String &value)
ConfigurationProfileSummary & WithLocationUri(const Aws::String &value)
ConfigurationProfileSummary & WithName(const Aws::String &value)
ConfigurationProfileSummary & WithName(Aws::String &&value)
ConfigurationProfileSummary & WithValidatorTypes(Aws::Vector< ValidatorType > &&value)
ConfigurationProfileSummary & WithId(const Aws::String &value)
ConfigurationProfileSummary & WithName(const char *value)
ConfigurationProfileSummary & WithLocationUri(Aws::String &&value)
ConfigurationProfileSummary & WithType(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue