AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
UpdateAppAuthorizationRequest.h
1
6#pragma once
7#include <aws/appfabric/AppFabricRequest.h>
8#include <aws/appfabric/AppFabric_EXPORTS.h>
9#include <aws/appfabric/model/Credential.h>
10#include <aws/appfabric/model/Tenant.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace AppFabric {
17namespace Model {
18
22 public:
23 AWS_APPFABRIC_API UpdateAppAuthorizationRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateAppAuthorization"; }
30
31 AWS_APPFABRIC_API Aws::String SerializePayload() const override;
32
34
38 inline const Aws::String& GetAppBundleIdentifier() const { return m_appBundleIdentifier; }
39 inline bool AppBundleIdentifierHasBeenSet() const { return m_appBundleIdentifierHasBeenSet; }
40 template <typename AppBundleIdentifierT = Aws::String>
41 void SetAppBundleIdentifier(AppBundleIdentifierT&& value) {
42 m_appBundleIdentifierHasBeenSet = true;
43 m_appBundleIdentifier = std::forward<AppBundleIdentifierT>(value);
44 }
45 template <typename AppBundleIdentifierT = Aws::String>
47 SetAppBundleIdentifier(std::forward<AppBundleIdentifierT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetAppAuthorizationIdentifier() const { return m_appAuthorizationIdentifier; }
58 inline bool AppAuthorizationIdentifierHasBeenSet() const { return m_appAuthorizationIdentifierHasBeenSet; }
59 template <typename AppAuthorizationIdentifierT = Aws::String>
60 void SetAppAuthorizationIdentifier(AppAuthorizationIdentifierT&& value) {
61 m_appAuthorizationIdentifierHasBeenSet = true;
62 m_appAuthorizationIdentifier = std::forward<AppAuthorizationIdentifierT>(value);
63 }
64 template <typename AppAuthorizationIdentifierT = Aws::String>
65 UpdateAppAuthorizationRequest& WithAppAuthorizationIdentifier(AppAuthorizationIdentifierT&& value) {
66 SetAppAuthorizationIdentifier(std::forward<AppAuthorizationIdentifierT>(value));
67 return *this;
68 }
70
72
79 inline const Credential& GetCredential() const { return m_credential; }
80 inline bool CredentialHasBeenSet() const { return m_credentialHasBeenSet; }
81 template <typename CredentialT = Credential>
82 void SetCredential(CredentialT&& value) {
83 m_credentialHasBeenSet = true;
84 m_credential = std::forward<CredentialT>(value);
85 }
86 template <typename CredentialT = Credential>
88 SetCredential(std::forward<CredentialT>(value));
89 return *this;
90 }
92
94
98 inline const Tenant& GetTenant() const { return m_tenant; }
99 inline bool TenantHasBeenSet() const { return m_tenantHasBeenSet; }
100 template <typename TenantT = Tenant>
101 void SetTenant(TenantT&& value) {
102 m_tenantHasBeenSet = true;
103 m_tenant = std::forward<TenantT>(value);
104 }
105 template <typename TenantT = Tenant>
107 SetTenant(std::forward<TenantT>(value));
108 return *this;
109 }
111 private:
112 Aws::String m_appBundleIdentifier;
113
114 Aws::String m_appAuthorizationIdentifier;
115
116 Credential m_credential;
117
118 Tenant m_tenant;
119 bool m_appBundleIdentifierHasBeenSet = false;
120 bool m_appAuthorizationIdentifierHasBeenSet = false;
121 bool m_credentialHasBeenSet = false;
122 bool m_tenantHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace AppFabric
127} // namespace Aws
UpdateAppAuthorizationRequest & WithCredential(CredentialT &&value)
UpdateAppAuthorizationRequest & WithTenant(TenantT &&value)
UpdateAppAuthorizationRequest & WithAppBundleIdentifier(AppBundleIdentifierT &&value)
AWS_APPFABRIC_API Aws::String SerializePayload() const override
UpdateAppAuthorizationRequest & WithAppAuthorizationIdentifier(AppAuthorizationIdentifierT &&value)
void SetAppAuthorizationIdentifier(AppAuthorizationIdentifierT &&value)
AWS_APPFABRIC_API UpdateAppAuthorizationRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String