AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAlternateContactRequest.h
1
6#pragma once
7#include <aws/account/Account_EXPORTS.h>
8#include <aws/account/AccountRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/account/model/AlternateContactType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Account
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_ACCOUNT_API GetAlternateContactRequest();
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 "GetAlternateContact"; }
32
33 AWS_ACCOUNT_API Aws::String SerializePayload() const override;
34
35
37
59 inline const Aws::String& GetAccountId() const{ return m_accountId; }
60 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
61 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
62 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
63 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
64 inline GetAlternateContactRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
65 inline GetAlternateContactRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
66 inline GetAlternateContactRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
68
70
73 inline const AlternateContactType& GetAlternateContactType() const{ return m_alternateContactType; }
74 inline bool AlternateContactTypeHasBeenSet() const { return m_alternateContactTypeHasBeenSet; }
75 inline void SetAlternateContactType(const AlternateContactType& value) { m_alternateContactTypeHasBeenSet = true; m_alternateContactType = value; }
76 inline void SetAlternateContactType(AlternateContactType&& value) { m_alternateContactTypeHasBeenSet = true; m_alternateContactType = std::move(value); }
80 private:
81
82 Aws::String m_accountId;
83 bool m_accountIdHasBeenSet = false;
84
85 AlternateContactType m_alternateContactType;
86 bool m_alternateContactTypeHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace Account
91} // namespace Aws
GetAlternateContactRequest & WithAlternateContactType(const AlternateContactType &value)
const AlternateContactType & GetAlternateContactType() const
GetAlternateContactRequest & WithAlternateContactType(AlternateContactType &&value)
virtual const char * GetServiceRequestName() const override
void SetAlternateContactType(AlternateContactType &&value)
AWS_ACCOUNT_API Aws::String SerializePayload() const override
GetAlternateContactRequest & WithAccountId(const char *value)
GetAlternateContactRequest & WithAccountId(const Aws::String &value)
void SetAlternateContactType(const AlternateContactType &value)
GetAlternateContactRequest & WithAccountId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String