AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConnectAppAuthorizationRequest.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/AuthRequest.h>
11#include <utility>
12
13namespace Aws
14{
15namespace AppFabric
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_APPFABRIC_API ConnectAppAuthorizationRequest();
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 "ConnectAppAuthorization"; }
32
33 AWS_APPFABRIC_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetAppBundleIdentifier() const{ return m_appBundleIdentifier; }
42 inline bool AppBundleIdentifierHasBeenSet() const { return m_appBundleIdentifierHasBeenSet; }
43 inline void SetAppBundleIdentifier(const Aws::String& value) { m_appBundleIdentifierHasBeenSet = true; m_appBundleIdentifier = value; }
44 inline void SetAppBundleIdentifier(Aws::String&& value) { m_appBundleIdentifierHasBeenSet = true; m_appBundleIdentifier = std::move(value); }
45 inline void SetAppBundleIdentifier(const char* value) { m_appBundleIdentifierHasBeenSet = true; m_appBundleIdentifier.assign(value); }
48 inline ConnectAppAuthorizationRequest& WithAppBundleIdentifier(const char* value) { SetAppBundleIdentifier(value); return *this;}
50
52
56 inline const Aws::String& GetAppAuthorizationIdentifier() const{ return m_appAuthorizationIdentifier; }
57 inline bool AppAuthorizationIdentifierHasBeenSet() const { return m_appAuthorizationIdentifierHasBeenSet; }
58 inline void SetAppAuthorizationIdentifier(const Aws::String& value) { m_appAuthorizationIdentifierHasBeenSet = true; m_appAuthorizationIdentifier = value; }
59 inline void SetAppAuthorizationIdentifier(Aws::String&& value) { m_appAuthorizationIdentifierHasBeenSet = true; m_appAuthorizationIdentifier = std::move(value); }
60 inline void SetAppAuthorizationIdentifier(const char* value) { m_appAuthorizationIdentifierHasBeenSet = true; m_appAuthorizationIdentifier.assign(value); }
65
67
72 inline const AuthRequest& GetAuthRequest() const{ return m_authRequest; }
73 inline bool AuthRequestHasBeenSet() const { return m_authRequestHasBeenSet; }
74 inline void SetAuthRequest(const AuthRequest& value) { m_authRequestHasBeenSet = true; m_authRequest = value; }
75 inline void SetAuthRequest(AuthRequest&& value) { m_authRequestHasBeenSet = true; m_authRequest = std::move(value); }
76 inline ConnectAppAuthorizationRequest& WithAuthRequest(const AuthRequest& value) { SetAuthRequest(value); return *this;}
77 inline ConnectAppAuthorizationRequest& WithAuthRequest(AuthRequest&& value) { SetAuthRequest(std::move(value)); return *this;}
79 private:
80
81 Aws::String m_appBundleIdentifier;
82 bool m_appBundleIdentifierHasBeenSet = false;
83
84 Aws::String m_appAuthorizationIdentifier;
85 bool m_appAuthorizationIdentifierHasBeenSet = false;
86
87 AuthRequest m_authRequest;
88 bool m_authRequestHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace AppFabric
93} // namespace Aws
ConnectAppAuthorizationRequest & WithAppAuthorizationIdentifier(const char *value)
ConnectAppAuthorizationRequest & WithAppAuthorizationIdentifier(const Aws::String &value)
ConnectAppAuthorizationRequest & WithAppBundleIdentifier(const Aws::String &value)
ConnectAppAuthorizationRequest & WithAppAuthorizationIdentifier(Aws::String &&value)
AWS_APPFABRIC_API Aws::String SerializePayload() const override
ConnectAppAuthorizationRequest & WithAuthRequest(const AuthRequest &value)
ConnectAppAuthorizationRequest & WithAppBundleIdentifier(const char *value)
ConnectAppAuthorizationRequest & WithAuthRequest(AuthRequest &&value)
ConnectAppAuthorizationRequest & WithAppBundleIdentifier(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String