AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
43 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
44 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
45 inline UpdateAccountRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
46 inline UpdateAccountRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
47 inline UpdateAccountRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
49
51
54 inline const Aws::String& GetName() const{ return m_name; }
55 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
56 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
57 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
58 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
59 inline UpdateAccountRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
60 inline UpdateAccountRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
61 inline UpdateAccountRequest& WithName(const char* value) { SetName(value); return *this;}
63
65
69 inline const License& GetDefaultLicense() const{ return m_defaultLicense; }
70 inline bool DefaultLicenseHasBeenSet() const { return m_defaultLicenseHasBeenSet; }
71 inline void SetDefaultLicense(const License& value) { m_defaultLicenseHasBeenSet = true; m_defaultLicense = value; }
72 inline void SetDefaultLicense(License&& value) { m_defaultLicenseHasBeenSet = true; m_defaultLicense = std::move(value); }
73 inline UpdateAccountRequest& WithDefaultLicense(const License& value) { SetDefaultLicense(value); return *this;}
74 inline UpdateAccountRequest& WithDefaultLicense(License&& value) { SetDefaultLicense(std::move(value)); return *this;}
76 private:
77
78 Aws::String m_accountId;
79 bool m_accountIdHasBeenSet = false;
80
81 Aws::String m_name;
82 bool m_nameHasBeenSet = false;
83
84 License m_defaultLicense;
85 bool m_defaultLicenseHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace Chime
90} // namespace Aws
void SetAccountId(const Aws::String &value)
UpdateAccountRequest & WithName(const Aws::String &value)
UpdateAccountRequest & WithDefaultLicense(const License &value)
AWS_CHIME_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
void SetName(const Aws::String &value)
UpdateAccountRequest & WithName(Aws::String &&value)
UpdateAccountRequest & WithAccountId(const char *value)
UpdateAccountRequest & WithAccountId(const Aws::String &value)
UpdateAccountRequest & WithName(const char *value)
UpdateAccountRequest & WithDefaultLicense(License &&value)
UpdateAccountRequest & WithAccountId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String