AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
GetAlternateContactRequest.h
1
6#pragma once
7#include <aws/account/AccountRequest.h>
8#include <aws/account/Account_EXPORTS.h>
9#include <aws/account/model/AlternateContactType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Account {
16namespace Model {
17
21 public:
22 AWS_ACCOUNT_API GetAlternateContactRequest() = 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 "GetAlternateContact"; }
29
30 AWS_ACCOUNT_API Aws::String SerializePayload() const override;
31
33
55 inline const Aws::String& GetAccountId() const { return m_accountId; }
56 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
57 template <typename AccountIdT = Aws::String>
58 void SetAccountId(AccountIdT&& value) {
59 m_accountIdHasBeenSet = true;
60 m_accountId = std::forward<AccountIdT>(value);
61 }
62 template <typename AccountIdT = Aws::String>
64 SetAccountId(std::forward<AccountIdT>(value));
65 return *this;
66 }
68
70
73 inline AlternateContactType GetAlternateContactType() const { return m_alternateContactType; }
74 inline bool AlternateContactTypeHasBeenSet() const { return m_alternateContactTypeHasBeenSet; }
76 m_alternateContactTypeHasBeenSet = true;
77 m_alternateContactType = value;
78 }
81 return *this;
82 }
84 private:
85 Aws::String m_accountId;
86 bool m_accountIdHasBeenSet = false;
87
89 bool m_alternateContactTypeHasBeenSet = false;
90};
91
92} // namespace Model
93} // namespace Account
94} // namespace Aws
AWS_ACCOUNT_API GetAlternateContactRequest()=default
virtual const char * GetServiceRequestName() const override
GetAlternateContactRequest & WithAlternateContactType(AlternateContactType value)
AWS_ACCOUNT_API Aws::String SerializePayload() const override
GetAlternateContactRequest & WithAccountId(AccountIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String