AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateMaintenanceWindowTargetResult.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ssm/model/Target.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace SSM
26{
27namespace Model
28{
30 {
31 public:
35
36
38
41 inline const Aws::String& GetWindowId() const{ return m_windowId; }
42 inline void SetWindowId(const Aws::String& value) { m_windowId = value; }
43 inline void SetWindowId(Aws::String&& value) { m_windowId = std::move(value); }
44 inline void SetWindowId(const char* value) { m_windowId.assign(value); }
45 inline UpdateMaintenanceWindowTargetResult& WithWindowId(const Aws::String& value) { SetWindowId(value); return *this;}
46 inline UpdateMaintenanceWindowTargetResult& WithWindowId(Aws::String&& value) { SetWindowId(std::move(value)); return *this;}
47 inline UpdateMaintenanceWindowTargetResult& WithWindowId(const char* value) { SetWindowId(value); return *this;}
49
51
54 inline const Aws::String& GetWindowTargetId() const{ return m_windowTargetId; }
55 inline void SetWindowTargetId(const Aws::String& value) { m_windowTargetId = value; }
56 inline void SetWindowTargetId(Aws::String&& value) { m_windowTargetId = std::move(value); }
57 inline void SetWindowTargetId(const char* value) { m_windowTargetId.assign(value); }
59 inline UpdateMaintenanceWindowTargetResult& WithWindowTargetId(Aws::String&& value) { SetWindowTargetId(std::move(value)); return *this;}
60 inline UpdateMaintenanceWindowTargetResult& WithWindowTargetId(const char* value) { SetWindowTargetId(value); return *this;}
62
64
67 inline const Aws::Vector<Target>& GetTargets() const{ return m_targets; }
68 inline void SetTargets(const Aws::Vector<Target>& value) { m_targets = value; }
69 inline void SetTargets(Aws::Vector<Target>&& value) { m_targets = std::move(value); }
71 inline UpdateMaintenanceWindowTargetResult& WithTargets(Aws::Vector<Target>&& value) { SetTargets(std::move(value)); return *this;}
72 inline UpdateMaintenanceWindowTargetResult& AddTargets(const Target& value) { m_targets.push_back(value); return *this; }
73 inline UpdateMaintenanceWindowTargetResult& AddTargets(Target&& value) { m_targets.push_back(std::move(value)); return *this; }
75
77
80 inline const Aws::String& GetOwnerInformation() const{ return m_ownerInformation; }
81 inline void SetOwnerInformation(const Aws::String& value) { m_ownerInformation = value; }
82 inline void SetOwnerInformation(Aws::String&& value) { m_ownerInformation = std::move(value); }
83 inline void SetOwnerInformation(const char* value) { m_ownerInformation.assign(value); }
86 inline UpdateMaintenanceWindowTargetResult& WithOwnerInformation(const char* value) { SetOwnerInformation(value); return *this;}
88
90
93 inline const Aws::String& GetName() const{ return m_name; }
94 inline void SetName(const Aws::String& value) { m_name = value; }
95 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
96 inline void SetName(const char* value) { m_name.assign(value); }
97 inline UpdateMaintenanceWindowTargetResult& WithName(const Aws::String& value) { SetName(value); return *this;}
98 inline UpdateMaintenanceWindowTargetResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
99 inline UpdateMaintenanceWindowTargetResult& WithName(const char* value) { SetName(value); return *this;}
101
103
106 inline const Aws::String& GetDescription() const{ return m_description; }
107 inline void SetDescription(const Aws::String& value) { m_description = value; }
108 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
109 inline void SetDescription(const char* value) { m_description.assign(value); }
111 inline UpdateMaintenanceWindowTargetResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
112 inline UpdateMaintenanceWindowTargetResult& WithDescription(const char* value) { SetDescription(value); return *this;}
114
116
117 inline const Aws::String& GetRequestId() const{ return m_requestId; }
118 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
119 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
120 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
121 inline UpdateMaintenanceWindowTargetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
122 inline UpdateMaintenanceWindowTargetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
123 inline UpdateMaintenanceWindowTargetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
125 private:
126
127 Aws::String m_windowId;
128
129 Aws::String m_windowTargetId;
130
131 Aws::Vector<Target> m_targets;
132
133 Aws::String m_ownerInformation;
134
135 Aws::String m_name;
136
137 Aws::String m_description;
138
139 Aws::String m_requestId;
140 };
141
142} // namespace Model
143} // namespace SSM
144} // namespace Aws
UpdateMaintenanceWindowTargetResult & WithOwnerInformation(const Aws::String &value)
UpdateMaintenanceWindowTargetResult & WithRequestId(const Aws::String &value)
UpdateMaintenanceWindowTargetResult & WithWindowTargetId(Aws::String &&value)
UpdateMaintenanceWindowTargetResult & WithWindowTargetId(const char *value)
UpdateMaintenanceWindowTargetResult & WithOwnerInformation(const char *value)
UpdateMaintenanceWindowTargetResult & WithName(Aws::String &&value)
UpdateMaintenanceWindowTargetResult & WithDescription(const char *value)
UpdateMaintenanceWindowTargetResult & WithWindowTargetId(const Aws::String &value)
AWS_SSM_API UpdateMaintenanceWindowTargetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateMaintenanceWindowTargetResult & WithName(const char *value)
UpdateMaintenanceWindowTargetResult & WithWindowId(Aws::String &&value)
UpdateMaintenanceWindowTargetResult & WithTargets(Aws::Vector< Target > &&value)
UpdateMaintenanceWindowTargetResult & WithWindowId(const Aws::String &value)
UpdateMaintenanceWindowTargetResult & WithName(const Aws::String &value)
UpdateMaintenanceWindowTargetResult & AddTargets(const Target &value)
UpdateMaintenanceWindowTargetResult & WithWindowId(const char *value)
UpdateMaintenanceWindowTargetResult & WithRequestId(Aws::String &&value)
AWS_SSM_API UpdateMaintenanceWindowTargetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateMaintenanceWindowTargetResult & WithDescription(Aws::String &&value)
UpdateMaintenanceWindowTargetResult & WithOwnerInformation(Aws::String &&value)
UpdateMaintenanceWindowTargetResult & AddTargets(Target &&value)
UpdateMaintenanceWindowTargetResult & WithTargets(const Aws::Vector< Target > &value)
UpdateMaintenanceWindowTargetResult & WithDescription(const Aws::String &value)
UpdateMaintenanceWindowTargetResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue