AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
GetRegionOptStatusRequest.h
1
6#pragma once
7#include <aws/account/AccountRequest.h>
8#include <aws/account/Account_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Account {
15namespace Model {
16
20 public:
21 AWS_ACCOUNT_API GetRegionOptStatusRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "GetRegionOptStatus"; }
28
29 AWS_ACCOUNT_API Aws::String SerializePayload() const override;
30
32
54 inline const Aws::String& GetAccountId() const { return m_accountId; }
55 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
56 template <typename AccountIdT = Aws::String>
57 void SetAccountId(AccountIdT&& value) {
58 m_accountIdHasBeenSet = true;
59 m_accountId = std::forward<AccountIdT>(value);
60 }
61 template <typename AccountIdT = Aws::String>
63 SetAccountId(std::forward<AccountIdT>(value));
64 return *this;
65 }
67
69
74 inline const Aws::String& GetRegionName() const { return m_regionName; }
75 inline bool RegionNameHasBeenSet() const { return m_regionNameHasBeenSet; }
76 template <typename RegionNameT = Aws::String>
77 void SetRegionName(RegionNameT&& value) {
78 m_regionNameHasBeenSet = true;
79 m_regionName = std::forward<RegionNameT>(value);
80 }
81 template <typename RegionNameT = Aws::String>
83 SetRegionName(std::forward<RegionNameT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_accountId;
89 bool m_accountIdHasBeenSet = false;
90
91 Aws::String m_regionName;
92 bool m_regionNameHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace Account
97} // namespace Aws
virtual const char * GetServiceRequestName() const override
GetRegionOptStatusRequest & WithRegionName(RegionNameT &&value)
AWS_ACCOUNT_API Aws::String SerializePayload() const override
AWS_ACCOUNT_API GetRegionOptStatusRequest()=default
GetRegionOptStatusRequest & WithAccountId(AccountIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String