AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DocumentRequires.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
33 {
34 public:
35 AWS_SSM_API DocumentRequires();
39
40
42
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline DocumentRequires& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline DocumentRequires& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline DocumentRequires& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const Aws::String& GetVersion() const{ return m_version; }
61 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
62 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
63 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
64 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
65 inline DocumentRequires& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
66 inline DocumentRequires& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
67 inline DocumentRequires& WithVersion(const char* value) { SetVersion(value); return *this;}
69
71
74 inline const Aws::String& GetRequireType() const{ return m_requireType; }
75 inline bool RequireTypeHasBeenSet() const { return m_requireTypeHasBeenSet; }
76 inline void SetRequireType(const Aws::String& value) { m_requireTypeHasBeenSet = true; m_requireType = value; }
77 inline void SetRequireType(Aws::String&& value) { m_requireTypeHasBeenSet = true; m_requireType = std::move(value); }
78 inline void SetRequireType(const char* value) { m_requireTypeHasBeenSet = true; m_requireType.assign(value); }
79 inline DocumentRequires& WithRequireType(const Aws::String& value) { SetRequireType(value); return *this;}
80 inline DocumentRequires& WithRequireType(Aws::String&& value) { SetRequireType(std::move(value)); return *this;}
81 inline DocumentRequires& WithRequireType(const char* value) { SetRequireType(value); return *this;}
83
85
90 inline const Aws::String& GetVersionName() const{ return m_versionName; }
91 inline bool VersionNameHasBeenSet() const { return m_versionNameHasBeenSet; }
92 inline void SetVersionName(const Aws::String& value) { m_versionNameHasBeenSet = true; m_versionName = value; }
93 inline void SetVersionName(Aws::String&& value) { m_versionNameHasBeenSet = true; m_versionName = std::move(value); }
94 inline void SetVersionName(const char* value) { m_versionNameHasBeenSet = true; m_versionName.assign(value); }
95 inline DocumentRequires& WithVersionName(const Aws::String& value) { SetVersionName(value); return *this;}
96 inline DocumentRequires& WithVersionName(Aws::String&& value) { SetVersionName(std::move(value)); return *this;}
97 inline DocumentRequires& WithVersionName(const char* value) { SetVersionName(value); return *this;}
99 private:
100
101 Aws::String m_name;
102 bool m_nameHasBeenSet = false;
103
104 Aws::String m_version;
105 bool m_versionHasBeenSet = false;
106
107 Aws::String m_requireType;
108 bool m_requireTypeHasBeenSet = false;
109
110 Aws::String m_versionName;
111 bool m_versionNameHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace SSM
116} // namespace Aws
const Aws::String & GetVersionName() const
void SetVersion(const Aws::String &value)
void SetVersion(Aws::String &&value)
DocumentRequires & WithVersionName(const Aws::String &value)
AWS_SSM_API DocumentRequires & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetVersion() const
const Aws::String & GetRequireType() const
void SetRequireType(Aws::String &&value)
DocumentRequires & WithVersion(Aws::String &&value)
DocumentRequires & WithVersionName(const char *value)
DocumentRequires & WithRequireType(const char *value)
void SetVersion(const char *value)
DocumentRequires & WithName(const Aws::String &value)
AWS_SSM_API DocumentRequires(Aws::Utils::Json::JsonView jsonValue)
DocumentRequires & WithVersion(const Aws::String &value)
void SetRequireType(const Aws::String &value)
void SetVersionName(Aws::String &&value)
void SetName(const Aws::String &value)
void SetName(Aws::String &&value)
DocumentRequires & WithRequireType(const Aws::String &value)
void SetVersionName(const char *value)
const Aws::String & GetName() const
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
DocumentRequires & WithVersionName(Aws::String &&value)
void SetRequireType(const char *value)
void SetVersionName(const Aws::String &value)
void SetName(const char *value)
DocumentRequires & WithName(Aws::String &&value)
DocumentRequires & WithVersion(const char *value)
DocumentRequires & WithRequireType(Aws::String &&value)
DocumentRequires & WithName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue