AWS SDK for C++

AWS SDK for C++ Version 1.11.791

Loading...
Searching...
No Matches
DisassociateApplicationsResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/gameliftstreams/GameLiftStreams_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace GameLiftStreams {
24namespace Model {
26 public:
27 AWS_GAMELIFTSTREAMS_API DisassociateApplicationsResult() = default;
30
32
40 inline const Aws::String& GetArn() const { return m_arn; }
41 template <typename ArnT = Aws::String>
42 void SetArn(ArnT&& value) {
43 m_arnHasBeenSet = true;
44 m_arn = std::forward<ArnT>(value);
45 }
46 template <typename ArnT = Aws::String>
48 SetArn(std::forward<ArnT>(value));
49 return *this;
50 }
52
54
63 inline const Aws::Vector<Aws::String>& GetApplicationArns() const { return m_applicationArns; }
64 template <typename ApplicationArnsT = Aws::Vector<Aws::String>>
65 void SetApplicationArns(ApplicationArnsT&& value) {
66 m_applicationArnsHasBeenSet = true;
67 m_applicationArns = std::forward<ApplicationArnsT>(value);
68 }
69 template <typename ApplicationArnsT = Aws::Vector<Aws::String>>
71 SetApplicationArns(std::forward<ApplicationArnsT>(value));
72 return *this;
73 }
74 template <typename ApplicationArnsT = Aws::String>
76 m_applicationArnsHasBeenSet = true;
77 m_applicationArns.emplace_back(std::forward<ApplicationArnsT>(value));
78 return *this;
79 }
81
83
84 inline const Aws::String& GetRequestId() const { return m_requestId; }
85 template <typename RequestIdT = Aws::String>
86 void SetRequestId(RequestIdT&& value) {
87 m_requestIdHasBeenSet = true;
88 m_requestId = std::forward<RequestIdT>(value);
89 }
90 template <typename RequestIdT = Aws::String>
92 SetRequestId(std::forward<RequestIdT>(value));
93 return *this;
94 }
96 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
97
98 private:
99 Aws::String m_arn;
100
101 Aws::Vector<Aws::String> m_applicationArns;
102
103 Aws::String m_requestId;
104 Aws::Http::HttpResponseCode m_HttpResponseCode;
105 bool m_arnHasBeenSet = false;
106 bool m_applicationArnsHasBeenSet = false;
107 bool m_requestIdHasBeenSet = false;
108};
109
110} // namespace Model
111} // namespace GameLiftStreams
112} // namespace Aws
DisassociateApplicationsResult & WithApplicationArns(ApplicationArnsT &&value)
DisassociateApplicationsResult & AddApplicationArns(ApplicationArnsT &&value)
AWS_GAMELIFTSTREAMS_API DisassociateApplicationsResult()=default
AWS_GAMELIFTSTREAMS_API DisassociateApplicationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GAMELIFTSTREAMS_API DisassociateApplicationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DisassociateApplicationsResult & WithRequestId(RequestIdT &&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