AWS SDK for C++

AWS SDK for C++ Version 1.11.936

Loading...
Searching...
No Matches
DisassociateAccountsRequest.h
1
6#pragma once
7#include <aws/billingconductor/BillingConductorRequest.h>
8#include <aws/billingconductor/BillingConductor_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace BillingConductor {
16namespace Model {
17
21 public:
22 AWS_BILLINGCONDUCTOR_API DisassociateAccountsRequest() = 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 "DisassociateAccounts"; }
29
30 AWS_BILLINGCONDUCTOR_API Aws::String SerializePayload() const override;
31
33
37 inline const Aws::String& GetArn() const { return m_arn; }
38 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
39 template <typename ArnT = Aws::String>
40 void SetArn(ArnT&& value) {
41 m_arnHasBeenSet = true;
42 m_arn = std::forward<ArnT>(value);
43 }
44 template <typename ArnT = Aws::String>
46 SetArn(std::forward<ArnT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::Vector<Aws::String>& GetAccountIds() const { return m_accountIds; }
56 inline bool AccountIdsHasBeenSet() const { return m_accountIdsHasBeenSet; }
57 template <typename AccountIdsT = Aws::Vector<Aws::String>>
58 void SetAccountIds(AccountIdsT&& value) {
59 m_accountIdsHasBeenSet = true;
60 m_accountIds = std::forward<AccountIdsT>(value);
61 }
62 template <typename AccountIdsT = Aws::Vector<Aws::String>>
64 SetAccountIds(std::forward<AccountIdsT>(value));
65 return *this;
66 }
67 template <typename AccountIdsT = Aws::String>
69 m_accountIdsHasBeenSet = true;
70 m_accountIds.emplace_back(std::forward<AccountIdsT>(value));
71 return *this;
72 }
74 private:
75 Aws::String m_arn;
76
77 Aws::Vector<Aws::String> m_accountIds;
78 bool m_arnHasBeenSet = false;
79 bool m_accountIdsHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace BillingConductor
84} // namespace Aws
AWS_BILLINGCONDUCTOR_API DisassociateAccountsRequest()=default
AWS_BILLINGCONDUCTOR_API Aws::String SerializePayload() const override
DisassociateAccountsRequest & WithAccountIds(AccountIdsT &&value)
DisassociateAccountsRequest & AddAccountIds(AccountIdsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector