AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateServiceSettingsResult.h
1
6#pragma once
7#include <aws/license-manager-linux-subscriptions/LicenseManagerLinuxSubscriptions_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/license-manager-linux-subscriptions/model/LinuxSubscriptionsDiscovery.h>
10#include <aws/license-manager-linux-subscriptions/model/LinuxSubscriptionsDiscoverySettings.h>
11#include <aws/license-manager-linux-subscriptions/model/Status.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace LicenseManagerLinuxSubscriptions
29{
30namespace Model
31{
33 {
34 public:
35 AWS_LICENSEMANAGERLINUXSUBSCRIPTIONS_API UpdateServiceSettingsResult();
36 AWS_LICENSEMANAGERLINUXSUBSCRIPTIONS_API UpdateServiceSettingsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
38
39
41
45 inline const Aws::Vector<Aws::String>& GetHomeRegions() const{ return m_homeRegions; }
46 inline void SetHomeRegions(const Aws::Vector<Aws::String>& value) { m_homeRegions = value; }
47 inline void SetHomeRegions(Aws::Vector<Aws::String>&& value) { m_homeRegions = std::move(value); }
49 inline UpdateServiceSettingsResult& WithHomeRegions(Aws::Vector<Aws::String>&& value) { SetHomeRegions(std::move(value)); return *this;}
50 inline UpdateServiceSettingsResult& AddHomeRegions(const Aws::String& value) { m_homeRegions.push_back(value); return *this; }
51 inline UpdateServiceSettingsResult& AddHomeRegions(Aws::String&& value) { m_homeRegions.push_back(std::move(value)); return *this; }
52 inline UpdateServiceSettingsResult& AddHomeRegions(const char* value) { m_homeRegions.push_back(value); return *this; }
54
56
59 inline const LinuxSubscriptionsDiscovery& GetLinuxSubscriptionsDiscovery() const{ return m_linuxSubscriptionsDiscovery; }
60 inline void SetLinuxSubscriptionsDiscovery(const LinuxSubscriptionsDiscovery& value) { m_linuxSubscriptionsDiscovery = value; }
61 inline void SetLinuxSubscriptionsDiscovery(LinuxSubscriptionsDiscovery&& value) { m_linuxSubscriptionsDiscovery = std::move(value); }
65
67
72 inline const LinuxSubscriptionsDiscoverySettings& GetLinuxSubscriptionsDiscoverySettings() const{ return m_linuxSubscriptionsDiscoverySettings; }
73 inline void SetLinuxSubscriptionsDiscoverySettings(const LinuxSubscriptionsDiscoverySettings& value) { m_linuxSubscriptionsDiscoverySettings = value; }
74 inline void SetLinuxSubscriptionsDiscoverySettings(LinuxSubscriptionsDiscoverySettings&& value) { m_linuxSubscriptionsDiscoverySettings = std::move(value); }
78
80
83 inline const Status& GetStatus() const{ return m_status; }
84 inline void SetStatus(const Status& value) { m_status = value; }
85 inline void SetStatus(Status&& value) { m_status = std::move(value); }
86 inline UpdateServiceSettingsResult& WithStatus(const Status& value) { SetStatus(value); return *this;}
87 inline UpdateServiceSettingsResult& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
89
91
95 inline const Aws::Map<Aws::String, Aws::String>& GetStatusMessage() const{ return m_statusMessage; }
96 inline void SetStatusMessage(const Aws::Map<Aws::String, Aws::String>& value) { m_statusMessage = value; }
97 inline void SetStatusMessage(Aws::Map<Aws::String, Aws::String>&& value) { m_statusMessage = std::move(value); }
100 inline UpdateServiceSettingsResult& AddStatusMessage(const Aws::String& key, const Aws::String& value) { m_statusMessage.emplace(key, value); return *this; }
101 inline UpdateServiceSettingsResult& AddStatusMessage(Aws::String&& key, const Aws::String& value) { m_statusMessage.emplace(std::move(key), value); return *this; }
102 inline UpdateServiceSettingsResult& AddStatusMessage(const Aws::String& key, Aws::String&& value) { m_statusMessage.emplace(key, std::move(value)); return *this; }
103 inline UpdateServiceSettingsResult& AddStatusMessage(Aws::String&& key, Aws::String&& value) { m_statusMessage.emplace(std::move(key), std::move(value)); return *this; }
104 inline UpdateServiceSettingsResult& AddStatusMessage(const char* key, Aws::String&& value) { m_statusMessage.emplace(key, std::move(value)); return *this; }
105 inline UpdateServiceSettingsResult& AddStatusMessage(Aws::String&& key, const char* value) { m_statusMessage.emplace(std::move(key), value); return *this; }
106 inline UpdateServiceSettingsResult& AddStatusMessage(const char* key, const char* value) { m_statusMessage.emplace(key, value); return *this; }
108
110
111 inline const Aws::String& GetRequestId() const{ return m_requestId; }
112 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
113 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
114 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
115 inline UpdateServiceSettingsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
116 inline UpdateServiceSettingsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
117 inline UpdateServiceSettingsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
119 private:
120
121 Aws::Vector<Aws::String> m_homeRegions;
122
123 LinuxSubscriptionsDiscovery m_linuxSubscriptionsDiscovery;
124
125 LinuxSubscriptionsDiscoverySettings m_linuxSubscriptionsDiscoverySettings;
126
127 Status m_status;
128
130
131 Aws::String m_requestId;
132 };
133
134} // namespace Model
135} // namespace LicenseManagerLinuxSubscriptions
136} // namespace Aws
UpdateServiceSettingsResult & AddStatusMessage(Aws::String &&key, const char *value)
AWS_LICENSEMANAGERLINUXSUBSCRIPTIONS_API UpdateServiceSettingsResult()
UpdateServiceSettingsResult & WithHomeRegions(Aws::Vector< Aws::String > &&value)
AWS_LICENSEMANAGERLINUXSUBSCRIPTIONS_API UpdateServiceSettingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const LinuxSubscriptionsDiscoverySettings & GetLinuxSubscriptionsDiscoverySettings() const
UpdateServiceSettingsResult & WithLinuxSubscriptionsDiscoverySettings(const LinuxSubscriptionsDiscoverySettings &value)
AWS_LICENSEMANAGERLINUXSUBSCRIPTIONS_API UpdateServiceSettingsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateServiceSettingsResult & AddStatusMessage(const Aws::String &key, Aws::String &&value)
UpdateServiceSettingsResult & WithHomeRegions(const Aws::Vector< Aws::String > &value)
UpdateServiceSettingsResult & AddStatusMessage(const char *key, const char *value)
void SetLinuxSubscriptionsDiscoverySettings(const LinuxSubscriptionsDiscoverySettings &value)
UpdateServiceSettingsResult & WithLinuxSubscriptionsDiscoverySettings(LinuxSubscriptionsDiscoverySettings &&value)
UpdateServiceSettingsResult & WithStatusMessage(Aws::Map< Aws::String, Aws::String > &&value)
UpdateServiceSettingsResult & AddHomeRegions(const Aws::String &value)
UpdateServiceSettingsResult & AddStatusMessage(Aws::String &&key, Aws::String &&value)
void SetStatusMessage(const Aws::Map< Aws::String, Aws::String > &value)
UpdateServiceSettingsResult & WithLinuxSubscriptionsDiscovery(const LinuxSubscriptionsDiscovery &value)
UpdateServiceSettingsResult & WithLinuxSubscriptionsDiscovery(LinuxSubscriptionsDiscovery &&value)
void SetLinuxSubscriptionsDiscoverySettings(LinuxSubscriptionsDiscoverySettings &&value)
UpdateServiceSettingsResult & AddStatusMessage(const Aws::String &key, const Aws::String &value)
UpdateServiceSettingsResult & AddStatusMessage(Aws::String &&key, const Aws::String &value)
UpdateServiceSettingsResult & AddStatusMessage(const char *key, Aws::String &&value)
UpdateServiceSettingsResult & WithStatusMessage(const Aws::Map< Aws::String, Aws::String > &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue