AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SsmParameterConfiguration.h
1
6#pragma once
7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/imagebuilder/model/SsmParameterDataType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace imagebuilder
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IMAGEBUILDER_API SsmParameterConfiguration() = default;
39 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const Aws::String& GetAmiAccountId() const { return m_amiAccountId; }
49 inline bool AmiAccountIdHasBeenSet() const { return m_amiAccountIdHasBeenSet; }
50 template<typename AmiAccountIdT = Aws::String>
51 void SetAmiAccountId(AmiAccountIdT&& value) { m_amiAccountIdHasBeenSet = true; m_amiAccountId = std::forward<AmiAccountIdT>(value); }
52 template<typename AmiAccountIdT = Aws::String>
53 SsmParameterConfiguration& WithAmiAccountId(AmiAccountIdT&& value) { SetAmiAccountId(std::forward<AmiAccountIdT>(value)); return *this;}
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) { m_parameterNameHasBeenSet = true; m_parameterName = std::forward<ParameterNameT>(value); }
66 template<typename ParameterNameT = Aws::String>
67 SsmParameterConfiguration& WithParameterName(ParameterNameT&& value) { SetParameterName(std::forward<ParameterNameT>(value)); return *this;}
69
71
75 inline SsmParameterDataType GetDataType() const { return m_dataType; }
76 inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; }
77 inline void SetDataType(SsmParameterDataType value) { m_dataTypeHasBeenSet = true; m_dataType = value; }
80 private:
81
82 Aws::String m_amiAccountId;
83 bool m_amiAccountIdHasBeenSet = false;
84
85 Aws::String m_parameterName;
86 bool m_parameterNameHasBeenSet = false;
87
89 bool m_dataTypeHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace imagebuilder
94} // 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