AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ApplicationIdT = Aws::String>
49 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::forward<ApplicationIdT>(value); }
50 template<typename ApplicationIdT = Aws::String>
51 ConfigurationProfileSummary& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
53
55
58 inline const Aws::String& GetId() const { return m_id; }
59 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
60 template<typename IdT = Aws::String>
61 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
62 template<typename IdT = Aws::String>
63 ConfigurationProfileSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
65
67
70 inline const Aws::String& GetName() const { return m_name; }
71 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
72 template<typename NameT = Aws::String>
73 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
74 template<typename NameT = Aws::String>
75 ConfigurationProfileSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
77
79
82 inline const Aws::String& GetLocationUri() const { return m_locationUri; }
83 inline bool LocationUriHasBeenSet() const { return m_locationUriHasBeenSet; }
84 template<typename LocationUriT = Aws::String>
85 void SetLocationUri(LocationUriT&& value) { m_locationUriHasBeenSet = true; m_locationUri = std::forward<LocationUriT>(value); }
86 template<typename LocationUriT = Aws::String>
87 ConfigurationProfileSummary& WithLocationUri(LocationUriT&& value) { SetLocationUri(std::forward<LocationUriT>(value)); return *this;}
89
91
94 inline const Aws::Vector<ValidatorType>& GetValidatorTypes() const { return m_validatorTypes; }
95 inline bool ValidatorTypesHasBeenSet() const { return m_validatorTypesHasBeenSet; }
96 template<typename ValidatorTypesT = Aws::Vector<ValidatorType>>
97 void SetValidatorTypes(ValidatorTypesT&& value) { m_validatorTypesHasBeenSet = true; m_validatorTypes = std::forward<ValidatorTypesT>(value); }
98 template<typename ValidatorTypesT = Aws::Vector<ValidatorType>>
99 ConfigurationProfileSummary& WithValidatorTypes(ValidatorTypesT&& value) { SetValidatorTypes(std::forward<ValidatorTypesT>(value)); return *this;}
100 inline ConfigurationProfileSummary& AddValidatorTypes(ValidatorType value) { m_validatorTypesHasBeenSet = true; m_validatorTypes.push_back(value); return *this; }
102
104
113 inline const Aws::String& GetType() const { return m_type; }
114 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
115 template<typename TypeT = Aws::String>
116 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
117 template<typename TypeT = Aws::String>
118 ConfigurationProfileSummary& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
120 private:
121
122 Aws::String m_applicationId;
123 bool m_applicationIdHasBeenSet = false;
124
125 Aws::String m_id;
126 bool m_idHasBeenSet = false;
127
128 Aws::String m_name;
129 bool m_nameHasBeenSet = false;
130
131 Aws::String m_locationUri;
132 bool m_locationUriHasBeenSet = false;
133
134 Aws::Vector<ValidatorType> m_validatorTypes;
135 bool m_validatorTypesHasBeenSet = false;
136
137 Aws::String m_type;
138 bool m_typeHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace AppConfig
143} // namespace Aws
ConfigurationProfileSummary & WithName(NameT &&value)
AWS_APPCONFIG_API ConfigurationProfileSummary(Aws::Utils::Json::JsonView jsonValue)
ConfigurationProfileSummary & WithId(IdT &&value)
AWS_APPCONFIG_API ConfigurationProfileSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ConfigurationProfileSummary & WithLocationUri(LocationUriT &&value)
ConfigurationProfileSummary & WithApplicationId(ApplicationIdT &&value)
AWS_APPCONFIG_API ConfigurationProfileSummary()=default
AWS_APPCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const
ConfigurationProfileSummary & WithValidatorTypes(ValidatorTypesT &&value)
const Aws::Vector< ValidatorType > & GetValidatorTypes() const
ConfigurationProfileSummary & AddValidatorTypes(ValidatorType value)
ConfigurationProfileSummary & WithType(TypeT &&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