AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteOrganizationRequest.h
1
6#pragma once
7#include <aws/workmail/WorkMail_EXPORTS.h>
8#include <aws/workmail/WorkMailRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace WorkMail
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_WORKMAIL_API DeleteOrganizationRequest();
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 "DeleteOrganization"; }
32
33 AWS_WORKMAIL_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
43 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
44 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
45 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
46 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
47 inline DeleteOrganizationRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
48 inline DeleteOrganizationRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
49 inline DeleteOrganizationRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
51
53
56 inline const Aws::String& GetOrganizationId() const{ return m_organizationId; }
57 inline bool OrganizationIdHasBeenSet() const { return m_organizationIdHasBeenSet; }
58 inline void SetOrganizationId(const Aws::String& value) { m_organizationIdHasBeenSet = true; m_organizationId = value; }
59 inline void SetOrganizationId(Aws::String&& value) { m_organizationIdHasBeenSet = true; m_organizationId = std::move(value); }
60 inline void SetOrganizationId(const char* value) { m_organizationIdHasBeenSet = true; m_organizationId.assign(value); }
61 inline DeleteOrganizationRequest& WithOrganizationId(const Aws::String& value) { SetOrganizationId(value); return *this;}
62 inline DeleteOrganizationRequest& WithOrganizationId(Aws::String&& value) { SetOrganizationId(std::move(value)); return *this;}
63 inline DeleteOrganizationRequest& WithOrganizationId(const char* value) { SetOrganizationId(value); return *this;}
65
67
71 inline bool GetDeleteDirectory() const{ return m_deleteDirectory; }
72 inline bool DeleteDirectoryHasBeenSet() const { return m_deleteDirectoryHasBeenSet; }
73 inline void SetDeleteDirectory(bool value) { m_deleteDirectoryHasBeenSet = true; m_deleteDirectory = value; }
74 inline DeleteOrganizationRequest& WithDeleteDirectory(bool value) { SetDeleteDirectory(value); return *this;}
76
78
82 inline bool GetForceDelete() const{ return m_forceDelete; }
83 inline bool ForceDeleteHasBeenSet() const { return m_forceDeleteHasBeenSet; }
84 inline void SetForceDelete(bool value) { m_forceDeleteHasBeenSet = true; m_forceDelete = value; }
85 inline DeleteOrganizationRequest& WithForceDelete(bool value) { SetForceDelete(value); return *this;}
87
89
93 inline bool GetDeleteIdentityCenterApplication() const{ return m_deleteIdentityCenterApplication; }
94 inline bool DeleteIdentityCenterApplicationHasBeenSet() const { return m_deleteIdentityCenterApplicationHasBeenSet; }
95 inline void SetDeleteIdentityCenterApplication(bool value) { m_deleteIdentityCenterApplicationHasBeenSet = true; m_deleteIdentityCenterApplication = value; }
98 private:
99
100 Aws::String m_clientToken;
101 bool m_clientTokenHasBeenSet = false;
102
103 Aws::String m_organizationId;
104 bool m_organizationIdHasBeenSet = false;
105
106 bool m_deleteDirectory;
107 bool m_deleteDirectoryHasBeenSet = false;
108
109 bool m_forceDelete;
110 bool m_forceDeleteHasBeenSet = false;
111
112 bool m_deleteIdentityCenterApplication;
113 bool m_deleteIdentityCenterApplicationHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace WorkMail
118} // namespace Aws
DeleteOrganizationRequest & WithOrganizationId(const char *value)
DeleteOrganizationRequest & WithDeleteIdentityCenterApplication(bool value)
DeleteOrganizationRequest & WithClientToken(const Aws::String &value)
DeleteOrganizationRequest & WithOrganizationId(Aws::String &&value)
DeleteOrganizationRequest & WithClientToken(const char *value)
DeleteOrganizationRequest & WithOrganizationId(const Aws::String &value)
DeleteOrganizationRequest & WithForceDelete(bool value)
AWS_WORKMAIL_API Aws::String SerializePayload() const override
AWS_WORKMAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
DeleteOrganizationRequest & WithDeleteDirectory(bool value)
DeleteOrganizationRequest & WithClientToken(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String