AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssociateApplicationsRequest.h
1
6#pragma once
7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/mgn/MgnRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace mgn
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "AssociateApplications"; }
32
33 AWS_MGN_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetAccountID() const{ return m_accountID; }
41 inline bool AccountIDHasBeenSet() const { return m_accountIDHasBeenSet; }
42 inline void SetAccountID(const Aws::String& value) { m_accountIDHasBeenSet = true; m_accountID = value; }
43 inline void SetAccountID(Aws::String&& value) { m_accountIDHasBeenSet = true; m_accountID = std::move(value); }
44 inline void SetAccountID(const char* value) { m_accountIDHasBeenSet = true; m_accountID.assign(value); }
45 inline AssociateApplicationsRequest& WithAccountID(const Aws::String& value) { SetAccountID(value); return *this;}
46 inline AssociateApplicationsRequest& WithAccountID(Aws::String&& value) { SetAccountID(std::move(value)); return *this;}
47 inline AssociateApplicationsRequest& WithAccountID(const char* value) { SetAccountID(value); return *this;}
49
51
54 inline const Aws::Vector<Aws::String>& GetApplicationIDs() const{ return m_applicationIDs; }
55 inline bool ApplicationIDsHasBeenSet() const { return m_applicationIDsHasBeenSet; }
56 inline void SetApplicationIDs(const Aws::Vector<Aws::String>& value) { m_applicationIDsHasBeenSet = true; m_applicationIDs = value; }
57 inline void SetApplicationIDs(Aws::Vector<Aws::String>&& value) { m_applicationIDsHasBeenSet = true; m_applicationIDs = std::move(value); }
60 inline AssociateApplicationsRequest& AddApplicationIDs(const Aws::String& value) { m_applicationIDsHasBeenSet = true; m_applicationIDs.push_back(value); return *this; }
61 inline AssociateApplicationsRequest& AddApplicationIDs(Aws::String&& value) { m_applicationIDsHasBeenSet = true; m_applicationIDs.push_back(std::move(value)); return *this; }
62 inline AssociateApplicationsRequest& AddApplicationIDs(const char* value) { m_applicationIDsHasBeenSet = true; m_applicationIDs.push_back(value); return *this; }
64
66
69 inline const Aws::String& GetWaveID() const{ return m_waveID; }
70 inline bool WaveIDHasBeenSet() const { return m_waveIDHasBeenSet; }
71 inline void SetWaveID(const Aws::String& value) { m_waveIDHasBeenSet = true; m_waveID = value; }
72 inline void SetWaveID(Aws::String&& value) { m_waveIDHasBeenSet = true; m_waveID = std::move(value); }
73 inline void SetWaveID(const char* value) { m_waveIDHasBeenSet = true; m_waveID.assign(value); }
74 inline AssociateApplicationsRequest& WithWaveID(const Aws::String& value) { SetWaveID(value); return *this;}
75 inline AssociateApplicationsRequest& WithWaveID(Aws::String&& value) { SetWaveID(std::move(value)); return *this;}
76 inline AssociateApplicationsRequest& WithWaveID(const char* value) { SetWaveID(value); return *this;}
78 private:
79
80 Aws::String m_accountID;
81 bool m_accountIDHasBeenSet = false;
82
83 Aws::Vector<Aws::String> m_applicationIDs;
84 bool m_applicationIDsHasBeenSet = false;
85
86 Aws::String m_waveID;
87 bool m_waveIDHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace mgn
92} // namespace Aws
AssociateApplicationsRequest & WithAccountID(const char *value)
AssociateApplicationsRequest & WithAccountID(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
AWS_MGN_API Aws::String SerializePayload() const override
AssociateApplicationsRequest & AddApplicationIDs(const char *value)
AssociateApplicationsRequest & WithWaveID(Aws::String &&value)
AssociateApplicationsRequest & WithWaveID(const char *value)
AssociateApplicationsRequest & WithAccountID(Aws::String &&value)
void SetApplicationIDs(Aws::Vector< Aws::String > &&value)
void SetApplicationIDs(const Aws::Vector< Aws::String > &value)
AssociateApplicationsRequest & AddApplicationIDs(Aws::String &&value)
AssociateApplicationsRequest & WithApplicationIDs(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetApplicationIDs() const
AssociateApplicationsRequest & AddApplicationIDs(const Aws::String &value)
AssociateApplicationsRequest & WithApplicationIDs(Aws::Vector< Aws::String > &&value)
AssociateApplicationsRequest & WithWaveID(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector