AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAppBundleIdentifier(const Aws::String& value) { m_appBundleIdentifierHasBeenSet = true; m_appBundleIdentifier = value; }
45 inline void SetAppBundleIdentifier(Aws::String&& value) { m_appBundleIdentifierHasBeenSet = true; m_appBundleIdentifier = std::move(value); }
46 inline void SetAppBundleIdentifier(const char* value) { m_appBundleIdentifierHasBeenSet = true; m_appBundleIdentifier.assign(value); }
49 inline UpdateAppAuthorizationRequest& WithAppBundleIdentifier(const char* value) { SetAppBundleIdentifier(value); return *this;}
51
53
57 inline const Aws::String& GetAppAuthorizationIdentifier() const{ return m_appAuthorizationIdentifier; }
58 inline bool AppAuthorizationIdentifierHasBeenSet() const { return m_appAuthorizationIdentifierHasBeenSet; }
59 inline void SetAppAuthorizationIdentifier(const Aws::String& value) { m_appAuthorizationIdentifierHasBeenSet = true; m_appAuthorizationIdentifier = value; }
60 inline void SetAppAuthorizationIdentifier(Aws::String&& value) { m_appAuthorizationIdentifierHasBeenSet = true; m_appAuthorizationIdentifier = std::move(value); }
61 inline void SetAppAuthorizationIdentifier(const char* value) { m_appAuthorizationIdentifierHasBeenSet = true; m_appAuthorizationIdentifier.assign(value); }
66
68
75 inline const Credential& GetCredential() const{ return m_credential; }
76 inline bool CredentialHasBeenSet() const { return m_credentialHasBeenSet; }
77 inline void SetCredential(const Credential& value) { m_credentialHasBeenSet = true; m_credential = value; }
78 inline void SetCredential(Credential&& value) { m_credentialHasBeenSet = true; m_credential = std::move(value); }
79 inline UpdateAppAuthorizationRequest& WithCredential(const Credential& value) { SetCredential(value); return *this;}
80 inline UpdateAppAuthorizationRequest& WithCredential(Credential&& value) { SetCredential(std::move(value)); return *this;}
82
84
88 inline const Tenant& GetTenant() const{ return m_tenant; }
89 inline bool TenantHasBeenSet() const { return m_tenantHasBeenSet; }
90 inline void SetTenant(const Tenant& value) { m_tenantHasBeenSet = true; m_tenant = value; }
91 inline void SetTenant(Tenant&& value) { m_tenantHasBeenSet = true; m_tenant = std::move(value); }
92 inline UpdateAppAuthorizationRequest& WithTenant(const Tenant& value) { SetTenant(value); return *this;}
93 inline UpdateAppAuthorizationRequest& WithTenant(Tenant&& value) { SetTenant(std::move(value)); return *this;}
95 private:
96
97 Aws::String m_appBundleIdentifier;
98 bool m_appBundleIdentifierHasBeenSet = false;
99
100 Aws::String m_appAuthorizationIdentifier;
101 bool m_appAuthorizationIdentifierHasBeenSet = false;
102
103 Credential m_credential;
104 bool m_credentialHasBeenSet = false;
105
106 Tenant m_tenant;
107 bool m_tenantHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace AppFabric
112} // namespace Aws
UpdateAppAuthorizationRequest & WithAppAuthorizationIdentifier(const char *value)
UpdateAppAuthorizationRequest & WithAppBundleIdentifier(const Aws::String &value)
UpdateAppAuthorizationRequest & WithTenant(Tenant &&value)
AWS_APPFABRIC_API Aws::String SerializePayload() const override
UpdateAppAuthorizationRequest & WithCredential(Credential &&value)
UpdateAppAuthorizationRequest & WithAppAuthorizationIdentifier(const Aws::String &value)
UpdateAppAuthorizationRequest & WithAppBundleIdentifier(const char *value)
UpdateAppAuthorizationRequest & WithAppAuthorizationIdentifier(Aws::String &&value)
UpdateAppAuthorizationRequest & WithCredential(const Credential &value)
UpdateAppAuthorizationRequest & WithAppBundleIdentifier(Aws::String &&value)
UpdateAppAuthorizationRequest & WithTenant(const Tenant &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String