AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
UpdateAccountRequest.h
1
6#pragma once
7#include <aws/chime/ChimeRequest.h>
8#include <aws/chime/Chime_EXPORTS.h>
9#include <aws/chime/model/License.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Chime {
16namespace Model {
17
21 public:
22 AWS_CHIME_API UpdateAccountRequest() = 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 "UpdateAccount"; }
29
30 AWS_CHIME_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetAccountId() const { return m_accountId; }
37 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
38 template <typename AccountIdT = Aws::String>
39 void SetAccountId(AccountIdT&& value) {
40 m_accountIdHasBeenSet = true;
41 m_accountId = std::forward<AccountIdT>(value);
42 }
43 template <typename AccountIdT = Aws::String>
44 UpdateAccountRequest& WithAccountId(AccountIdT&& value) {
45 SetAccountId(std::forward<AccountIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetName() const { return m_name; }
55 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
56 template <typename NameT = Aws::String>
57 void SetName(NameT&& value) {
58 m_nameHasBeenSet = true;
59 m_name = std::forward<NameT>(value);
60 }
61 template <typename NameT = Aws::String>
63 SetName(std::forward<NameT>(value));
64 return *this;
65 }
67
69
73 inline License GetDefaultLicense() const { return m_defaultLicense; }
74 inline bool DefaultLicenseHasBeenSet() const { return m_defaultLicenseHasBeenSet; }
75 inline void SetDefaultLicense(License value) {
76 m_defaultLicenseHasBeenSet = true;
77 m_defaultLicense = value;
78 }
80 SetDefaultLicense(value);
81 return *this;
82 }
84 private:
85 Aws::String m_accountId;
86
87 Aws::String m_name;
88
89 License m_defaultLicense{License::NOT_SET};
90 bool m_accountIdHasBeenSet = false;
91 bool m_nameHasBeenSet = false;
92 bool m_defaultLicenseHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace Chime
97} // namespace Aws
AWS_CHIME_API UpdateAccountRequest()=default
AWS_CHIME_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
UpdateAccountRequest & WithAccountId(AccountIdT &&value)
UpdateAccountRequest & WithName(NameT &&value)
UpdateAccountRequest & WithDefaultLicense(License value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String