AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DisassociateApplicationsRequest.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:
25 AWS_MGN_API DisassociateApplicationsRequest() = default;
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 "DisassociateApplications"; }
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 template<typename AccountIDT = Aws::String>
43 void SetAccountID(AccountIDT&& value) { m_accountIDHasBeenSet = true; m_accountID = std::forward<AccountIDT>(value); }
44 template<typename AccountIDT = Aws::String>
45 DisassociateApplicationsRequest& WithAccountID(AccountIDT&& value) { SetAccountID(std::forward<AccountIDT>(value)); return *this;}
47
49
52 inline const Aws::Vector<Aws::String>& GetApplicationIDs() const { return m_applicationIDs; }
53 inline bool ApplicationIDsHasBeenSet() const { return m_applicationIDsHasBeenSet; }
54 template<typename ApplicationIDsT = Aws::Vector<Aws::String>>
55 void SetApplicationIDs(ApplicationIDsT&& value) { m_applicationIDsHasBeenSet = true; m_applicationIDs = std::forward<ApplicationIDsT>(value); }
56 template<typename ApplicationIDsT = Aws::Vector<Aws::String>>
57 DisassociateApplicationsRequest& WithApplicationIDs(ApplicationIDsT&& value) { SetApplicationIDs(std::forward<ApplicationIDsT>(value)); return *this;}
58 template<typename ApplicationIDsT = Aws::String>
59 DisassociateApplicationsRequest& AddApplicationIDs(ApplicationIDsT&& value) { m_applicationIDsHasBeenSet = true; m_applicationIDs.emplace_back(std::forward<ApplicationIDsT>(value)); return *this; }
61
63
66 inline const Aws::String& GetWaveID() const { return m_waveID; }
67 inline bool WaveIDHasBeenSet() const { return m_waveIDHasBeenSet; }
68 template<typename WaveIDT = Aws::String>
69 void SetWaveID(WaveIDT&& value) { m_waveIDHasBeenSet = true; m_waveID = std::forward<WaveIDT>(value); }
70 template<typename WaveIDT = Aws::String>
71 DisassociateApplicationsRequest& WithWaveID(WaveIDT&& value) { SetWaveID(std::forward<WaveIDT>(value)); return *this;}
73 private:
74
75 Aws::String m_accountID;
76 bool m_accountIDHasBeenSet = false;
77
78 Aws::Vector<Aws::String> m_applicationIDs;
79 bool m_applicationIDsHasBeenSet = false;
80
81 Aws::String m_waveID;
82 bool m_waveIDHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace mgn
87} // namespace Aws
const Aws::Vector< Aws::String > & GetApplicationIDs() const
DisassociateApplicationsRequest & WithApplicationIDs(ApplicationIDsT &&value)
DisassociateApplicationsRequest & AddApplicationIDs(ApplicationIDsT &&value)
DisassociateApplicationsRequest & WithAccountID(AccountIDT &&value)
AWS_MGN_API Aws::String SerializePayload() const override
DisassociateApplicationsRequest & WithWaveID(WaveIDT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector