AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DocumentDefaultVersionDescription.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ssm/SSM_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SSM {
20namespace Model {
21
28 public:
29 AWS_SSM_API DocumentDefaultVersionDescription() = default;
33
35
38 inline const Aws::String& GetName() const { return m_name; }
39 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
40 template <typename NameT = Aws::String>
41 void SetName(NameT&& value) {
42 m_nameHasBeenSet = true;
43 m_name = std::forward<NameT>(value);
44 }
45 template <typename NameT = Aws::String>
47 SetName(std::forward<NameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetDefaultVersion() const { return m_defaultVersion; }
57 inline bool DefaultVersionHasBeenSet() const { return m_defaultVersionHasBeenSet; }
58 template <typename DefaultVersionT = Aws::String>
59 void SetDefaultVersion(DefaultVersionT&& value) {
60 m_defaultVersionHasBeenSet = true;
61 m_defaultVersion = std::forward<DefaultVersionT>(value);
62 }
63 template <typename DefaultVersionT = Aws::String>
65 SetDefaultVersion(std::forward<DefaultVersionT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetDefaultVersionName() const { return m_defaultVersionName; }
75 inline bool DefaultVersionNameHasBeenSet() const { return m_defaultVersionNameHasBeenSet; }
76 template <typename DefaultVersionNameT = Aws::String>
77 void SetDefaultVersionName(DefaultVersionNameT&& value) {
78 m_defaultVersionNameHasBeenSet = true;
79 m_defaultVersionName = std::forward<DefaultVersionNameT>(value);
80 }
81 template <typename DefaultVersionNameT = Aws::String>
83 SetDefaultVersionName(std::forward<DefaultVersionNameT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_name;
89
90 Aws::String m_defaultVersion;
91
92 Aws::String m_defaultVersionName;
93 bool m_nameHasBeenSet = false;
94 bool m_defaultVersionHasBeenSet = false;
95 bool m_defaultVersionNameHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace SSM
100} // namespace Aws
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
DocumentDefaultVersionDescription & WithDefaultVersion(DefaultVersionT &&value)
AWS_SSM_API DocumentDefaultVersionDescription(Aws::Utils::Json::JsonView jsonValue)
DocumentDefaultVersionDescription & WithDefaultVersionName(DefaultVersionNameT &&value)
DocumentDefaultVersionDescription & WithName(NameT &&value)
AWS_SSM_API DocumentDefaultVersionDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue