AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateAppAuthorizationRequest.h
1
6#pragma once
7#include <aws/appfabric/AppFabric_EXPORTS.h>
8#include <aws/appfabric/AppFabricRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/appfabric/model/Credential.h>
11#include <aws/appfabric/model/Tenant.h>
12#include <utility>
13
14namespace Aws
15{
16namespace AppFabric
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_APPFABRIC_API UpdateAppAuthorizationRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateAppAuthorization"; }
33
34 AWS_APPFABRIC_API Aws::String SerializePayload() const override;
35
36
38
42 inline const Aws::String& GetAppBundleIdentifier() const { return m_appBundleIdentifier; }
43 inline bool AppBundleIdentifierHasBeenSet() const { return m_appBundleIdentifierHasBeenSet; }
44 template<typename AppBundleIdentifierT = Aws::String>
45 void SetAppBundleIdentifier(AppBundleIdentifierT&& value) { m_appBundleIdentifierHasBeenSet = true; m_appBundleIdentifier = std::forward<AppBundleIdentifierT>(value); }
46 template<typename AppBundleIdentifierT = Aws::String>
47 UpdateAppAuthorizationRequest& WithAppBundleIdentifier(AppBundleIdentifierT&& value) { SetAppBundleIdentifier(std::forward<AppBundleIdentifierT>(value)); return *this;}
49
51
55 inline const Aws::String& GetAppAuthorizationIdentifier() const { return m_appAuthorizationIdentifier; }
56 inline bool AppAuthorizationIdentifierHasBeenSet() const { return m_appAuthorizationIdentifierHasBeenSet; }
57 template<typename AppAuthorizationIdentifierT = Aws::String>
58 void SetAppAuthorizationIdentifier(AppAuthorizationIdentifierT&& value) { m_appAuthorizationIdentifierHasBeenSet = true; m_appAuthorizationIdentifier = std::forward<AppAuthorizationIdentifierT>(value); }
59 template<typename AppAuthorizationIdentifierT = Aws::String>
60 UpdateAppAuthorizationRequest& WithAppAuthorizationIdentifier(AppAuthorizationIdentifierT&& value) { SetAppAuthorizationIdentifier(std::forward<AppAuthorizationIdentifierT>(value)); return *this;}
62
64
71 inline const Credential& GetCredential() const { return m_credential; }
72 inline bool CredentialHasBeenSet() const { return m_credentialHasBeenSet; }
73 template<typename CredentialT = Credential>
74 void SetCredential(CredentialT&& value) { m_credentialHasBeenSet = true; m_credential = std::forward<CredentialT>(value); }
75 template<typename CredentialT = Credential>
76 UpdateAppAuthorizationRequest& WithCredential(CredentialT&& value) { SetCredential(std::forward<CredentialT>(value)); return *this;}
78
80
84 inline const Tenant& GetTenant() const { return m_tenant; }
85 inline bool TenantHasBeenSet() const { return m_tenantHasBeenSet; }
86 template<typename TenantT = Tenant>
87 void SetTenant(TenantT&& value) { m_tenantHasBeenSet = true; m_tenant = std::forward<TenantT>(value); }
88 template<typename TenantT = Tenant>
89 UpdateAppAuthorizationRequest& WithTenant(TenantT&& value) { SetTenant(std::forward<TenantT>(value)); return *this;}
91 private:
92
93 Aws::String m_appBundleIdentifier;
94 bool m_appBundleIdentifierHasBeenSet = false;
95
96 Aws::String m_appAuthorizationIdentifier;
97 bool m_appAuthorizationIdentifierHasBeenSet = false;
98
99 Credential m_credential;
100 bool m_credentialHasBeenSet = false;
101
102 Tenant m_tenant;
103 bool m_tenantHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace AppFabric
108} // 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