AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
SsmParameterConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
9#include <aws/imagebuilder/model/SsmParameterDataType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace imagebuilder {
21namespace Model {
22
30 public:
31 AWS_IMAGEBUILDER_API SsmParameterConfiguration() = default;
34 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
42 inline const Aws::String& GetAmiAccountId() const { return m_amiAccountId; }
43 inline bool AmiAccountIdHasBeenSet() const { return m_amiAccountIdHasBeenSet; }
44 template <typename AmiAccountIdT = Aws::String>
45 void SetAmiAccountId(AmiAccountIdT&& value) {
46 m_amiAccountIdHasBeenSet = true;
47 m_amiAccountId = std::forward<AmiAccountIdT>(value);
48 }
49 template <typename AmiAccountIdT = Aws::String>
51 SetAmiAccountId(std::forward<AmiAccountIdT>(value));
52 return *this;
53 }
55
57
62 inline const Aws::String& GetParameterName() const { return m_parameterName; }
63 inline bool ParameterNameHasBeenSet() const { return m_parameterNameHasBeenSet; }
64 template <typename ParameterNameT = Aws::String>
65 void SetParameterName(ParameterNameT&& value) {
66 m_parameterNameHasBeenSet = true;
67 m_parameterName = std::forward<ParameterNameT>(value);
68 }
69 template <typename ParameterNameT = Aws::String>
71 SetParameterName(std::forward<ParameterNameT>(value));
72 return *this;
73 }
75
77
81 inline SsmParameterDataType GetDataType() const { return m_dataType; }
82 inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; }
83 inline void SetDataType(SsmParameterDataType value) {
84 m_dataTypeHasBeenSet = true;
85 m_dataType = value;
86 }
88 SetDataType(value);
89 return *this;
90 }
92 private:
93 Aws::String m_amiAccountId;
94
95 Aws::String m_parameterName;
96
98 bool m_amiAccountIdHasBeenSet = false;
99 bool m_parameterNameHasBeenSet = false;
100 bool m_dataTypeHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace imagebuilder
105} // namespace Aws
AWS_IMAGEBUILDER_API SsmParameterConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IMAGEBUILDER_API SsmParameterConfiguration()=default
SsmParameterConfiguration & WithDataType(SsmParameterDataType value)
SsmParameterConfiguration & WithParameterName(ParameterNameT &&value)
AWS_IMAGEBUILDER_API SsmParameterConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
SsmParameterConfiguration & WithAmiAccountId(AmiAccountIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue