AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DocumentDefaultVersionDescription.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SSM
22{
23namespace Model
24{
25
32 {
33 public:
38
39
41
44 inline const Aws::String& GetName() const{ return m_name; }
45 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
46 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
47 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
48 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
49 inline DocumentDefaultVersionDescription& WithName(const Aws::String& value) { SetName(value); return *this;}
50 inline DocumentDefaultVersionDescription& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
51 inline DocumentDefaultVersionDescription& WithName(const char* value) { SetName(value); return *this;}
53
55
58 inline const Aws::String& GetDefaultVersion() const{ return m_defaultVersion; }
59 inline bool DefaultVersionHasBeenSet() const { return m_defaultVersionHasBeenSet; }
60 inline void SetDefaultVersion(const Aws::String& value) { m_defaultVersionHasBeenSet = true; m_defaultVersion = value; }
61 inline void SetDefaultVersion(Aws::String&& value) { m_defaultVersionHasBeenSet = true; m_defaultVersion = std::move(value); }
62 inline void SetDefaultVersion(const char* value) { m_defaultVersionHasBeenSet = true; m_defaultVersion.assign(value); }
64 inline DocumentDefaultVersionDescription& WithDefaultVersion(Aws::String&& value) { SetDefaultVersion(std::move(value)); return *this;}
65 inline DocumentDefaultVersionDescription& WithDefaultVersion(const char* value) { SetDefaultVersion(value); return *this;}
67
69
72 inline const Aws::String& GetDefaultVersionName() const{ return m_defaultVersionName; }
73 inline bool DefaultVersionNameHasBeenSet() const { return m_defaultVersionNameHasBeenSet; }
74 inline void SetDefaultVersionName(const Aws::String& value) { m_defaultVersionNameHasBeenSet = true; m_defaultVersionName = value; }
75 inline void SetDefaultVersionName(Aws::String&& value) { m_defaultVersionNameHasBeenSet = true; m_defaultVersionName = std::move(value); }
76 inline void SetDefaultVersionName(const char* value) { m_defaultVersionNameHasBeenSet = true; m_defaultVersionName.assign(value); }
79 inline DocumentDefaultVersionDescription& WithDefaultVersionName(const char* value) { SetDefaultVersionName(value); return *this;}
81 private:
82
83 Aws::String m_name;
84 bool m_nameHasBeenSet = false;
85
86 Aws::String m_defaultVersion;
87 bool m_defaultVersionHasBeenSet = false;
88
89 Aws::String m_defaultVersionName;
90 bool m_defaultVersionNameHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace SSM
95} // namespace Aws
DocumentDefaultVersionDescription & WithDefaultVersionName(Aws::String &&value)
DocumentDefaultVersionDescription & WithDefaultVersionName(const Aws::String &value)
DocumentDefaultVersionDescription & WithDefaultVersion(const Aws::String &value)
DocumentDefaultVersionDescription & WithName(const Aws::String &value)
DocumentDefaultVersionDescription & WithName(const char *value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SSM_API DocumentDefaultVersionDescription(Aws::Utils::Json::JsonView jsonValue)
DocumentDefaultVersionDescription & WithDefaultVersion(Aws::String &&value)
DocumentDefaultVersionDescription & WithDefaultVersion(const char *value)
AWS_SSM_API DocumentDefaultVersionDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
DocumentDefaultVersionDescription & WithDefaultVersionName(const char *value)
DocumentDefaultVersionDescription & WithName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue