AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateAccountRequest.h
1
6#pragma once
7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/chime/ChimeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/chime/model/License.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Chime
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CHIME_API UpdateAccountRequest() = default;
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 "UpdateAccount"; }
32
33 AWS_CHIME_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetAccountId() const { return m_accountId; }
41 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
42 template<typename AccountIdT = Aws::String>
43 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
44 template<typename AccountIdT = Aws::String>
45 UpdateAccountRequest& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
47
49
52 inline const Aws::String& GetName() const { return m_name; }
53 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
54 template<typename NameT = Aws::String>
55 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
56 template<typename NameT = Aws::String>
57 UpdateAccountRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
59
61
65 inline License GetDefaultLicense() const { return m_defaultLicense; }
66 inline bool DefaultLicenseHasBeenSet() const { return m_defaultLicenseHasBeenSet; }
67 inline void SetDefaultLicense(License value) { m_defaultLicenseHasBeenSet = true; m_defaultLicense = value; }
68 inline UpdateAccountRequest& WithDefaultLicense(License value) { SetDefaultLicense(value); return *this;}
70 private:
71
72 Aws::String m_accountId;
73 bool m_accountIdHasBeenSet = false;
74
75 Aws::String m_name;
76 bool m_nameHasBeenSet = false;
77
78 License m_defaultLicense{License::NOT_SET};
79 bool m_defaultLicenseHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace Chime
84} // 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