AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
AssociateApplicationsRequest.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/mgn/MgnRequest.h>
10#include <aws/mgn/Mgn_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace mgn {
16namespace Model {
17
21 public:
22 AWS_MGN_API AssociateApplicationsRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "AssociateApplications"; }
29
30 AWS_MGN_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetWaveID() const { return m_waveID; }
37 inline bool WaveIDHasBeenSet() const { return m_waveIDHasBeenSet; }
38 template <typename WaveIDT = Aws::String>
39 void SetWaveID(WaveIDT&& value) {
40 m_waveIDHasBeenSet = true;
41 m_waveID = std::forward<WaveIDT>(value);
42 }
43 template <typename WaveIDT = Aws::String>
45 SetWaveID(std::forward<WaveIDT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::Vector<Aws::String>& GetApplicationIDs() const { return m_applicationIDs; }
55 inline bool ApplicationIDsHasBeenSet() const { return m_applicationIDsHasBeenSet; }
56 template <typename ApplicationIDsT = Aws::Vector<Aws::String>>
57 void SetApplicationIDs(ApplicationIDsT&& value) {
58 m_applicationIDsHasBeenSet = true;
59 m_applicationIDs = std::forward<ApplicationIDsT>(value);
60 }
61 template <typename ApplicationIDsT = Aws::Vector<Aws::String>>
63 SetApplicationIDs(std::forward<ApplicationIDsT>(value));
64 return *this;
65 }
66 template <typename ApplicationIDsT = Aws::String>
68 m_applicationIDsHasBeenSet = true;
69 m_applicationIDs.emplace_back(std::forward<ApplicationIDsT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetAccountID() const { return m_accountID; }
79 inline bool AccountIDHasBeenSet() const { return m_accountIDHasBeenSet; }
80 template <typename AccountIDT = Aws::String>
81 void SetAccountID(AccountIDT&& value) {
82 m_accountIDHasBeenSet = true;
83 m_accountID = std::forward<AccountIDT>(value);
84 }
85 template <typename AccountIDT = Aws::String>
87 SetAccountID(std::forward<AccountIDT>(value));
88 return *this;
89 }
91 private:
92 Aws::String m_waveID;
93
94 Aws::Vector<Aws::String> m_applicationIDs;
95
96 Aws::String m_accountID;
97 bool m_waveIDHasBeenSet = false;
98 bool m_applicationIDsHasBeenSet = false;
99 bool m_accountIDHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace mgn
104} // namespace Aws
AWS_MGN_API AssociateApplicationsRequest()=default
AssociateApplicationsRequest & WithApplicationIDs(ApplicationIDsT &&value)
virtual const char * GetServiceRequestName() const override
AssociateApplicationsRequest & AddApplicationIDs(ApplicationIDsT &&value)
AWS_MGN_API Aws::String SerializePayload() const override
AssociateApplicationsRequest & WithAccountID(AccountIDT &&value)
const Aws::Vector< Aws::String > & GetApplicationIDs() const
AssociateApplicationsRequest & WithWaveID(WaveIDT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector