AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DisassociateApplicationsResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/gameliftstreams/GameLiftStreams_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace GameLiftStreams {
23namespace Model {
25 public:
26 AWS_GAMELIFTSTREAMS_API DisassociateApplicationsResult() = default;
29
31
39 inline const Aws::String& GetArn() const { return m_arn; }
40 template <typename ArnT = Aws::String>
41 void SetArn(ArnT&& value) {
42 m_arnHasBeenSet = true;
43 m_arn = std::forward<ArnT>(value);
44 }
45 template <typename ArnT = Aws::String>
47 SetArn(std::forward<ArnT>(value));
48 return *this;
49 }
51
53
62 inline const Aws::Vector<Aws::String>& GetApplicationArns() const { return m_applicationArns; }
63 template <typename ApplicationArnsT = Aws::Vector<Aws::String>>
64 void SetApplicationArns(ApplicationArnsT&& value) {
65 m_applicationArnsHasBeenSet = true;
66 m_applicationArns = std::forward<ApplicationArnsT>(value);
67 }
68 template <typename ApplicationArnsT = Aws::Vector<Aws::String>>
70 SetApplicationArns(std::forward<ApplicationArnsT>(value));
71 return *this;
72 }
73 template <typename ApplicationArnsT = Aws::String>
75 m_applicationArnsHasBeenSet = true;
76 m_applicationArns.emplace_back(std::forward<ApplicationArnsT>(value));
77 return *this;
78 }
80
82
83 inline const Aws::String& GetRequestId() const { return m_requestId; }
84 template <typename RequestIdT = Aws::String>
85 void SetRequestId(RequestIdT&& value) {
86 m_requestIdHasBeenSet = true;
87 m_requestId = std::forward<RequestIdT>(value);
88 }
89 template <typename RequestIdT = Aws::String>
91 SetRequestId(std::forward<RequestIdT>(value));
92 return *this;
93 }
95 private:
96 Aws::String m_arn;
97
98 Aws::Vector<Aws::String> m_applicationArns;
99
100 Aws::String m_requestId;
101 bool m_arnHasBeenSet = false;
102 bool m_applicationArnsHasBeenSet = false;
103 bool m_requestIdHasBeenSet = false;
104};
105
106} // namespace Model
107} // namespace GameLiftStreams
108} // 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