AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename AppBundleIdentifierT = Aws::String>
44 void SetAppBundleIdentifier(AppBundleIdentifierT&& value) { m_appBundleIdentifierHasBeenSet = true; m_appBundleIdentifier = std::forward<AppBundleIdentifierT>(value); }
45 template<typename AppBundleIdentifierT = Aws::String>
46 ConnectAppAuthorizationRequest& WithAppBundleIdentifier(AppBundleIdentifierT&& value) { SetAppBundleIdentifier(std::forward<AppBundleIdentifierT>(value)); return *this;}
48
50
54 inline const Aws::String& GetAppAuthorizationIdentifier() const { return m_appAuthorizationIdentifier; }
55 inline bool AppAuthorizationIdentifierHasBeenSet() const { return m_appAuthorizationIdentifierHasBeenSet; }
56 template<typename AppAuthorizationIdentifierT = Aws::String>
57 void SetAppAuthorizationIdentifier(AppAuthorizationIdentifierT&& value) { m_appAuthorizationIdentifierHasBeenSet = true; m_appAuthorizationIdentifier = std::forward<AppAuthorizationIdentifierT>(value); }
58 template<typename AppAuthorizationIdentifierT = Aws::String>
59 ConnectAppAuthorizationRequest& WithAppAuthorizationIdentifier(AppAuthorizationIdentifierT&& value) { SetAppAuthorizationIdentifier(std::forward<AppAuthorizationIdentifierT>(value)); return *this;}
61
63
68 inline const AuthRequest& GetAuthRequest() const { return m_authRequest; }
69 inline bool AuthRequestHasBeenSet() const { return m_authRequestHasBeenSet; }
70 template<typename AuthRequestT = AuthRequest>
71 void SetAuthRequest(AuthRequestT&& value) { m_authRequestHasBeenSet = true; m_authRequest = std::forward<AuthRequestT>(value); }
72 template<typename AuthRequestT = AuthRequest>
73 ConnectAppAuthorizationRequest& WithAuthRequest(AuthRequestT&& value) { SetAuthRequest(std::forward<AuthRequestT>(value)); return *this;}
75 private:
76
77 Aws::String m_appBundleIdentifier;
78 bool m_appBundleIdentifierHasBeenSet = false;
79
80 Aws::String m_appAuthorizationIdentifier;
81 bool m_appAuthorizationIdentifierHasBeenSet = false;
82
83 AuthRequest m_authRequest;
84 bool m_authRequestHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace AppFabric
89} // namespace Aws
ConnectAppAuthorizationRequest & WithAuthRequest(AuthRequestT &&value)
ConnectAppAuthorizationRequest & WithAppBundleIdentifier(AppBundleIdentifierT &&value)
AWS_APPFABRIC_API Aws::String SerializePayload() const override
void SetAppAuthorizationIdentifier(AppAuthorizationIdentifierT &&value)
ConnectAppAuthorizationRequest & WithAppAuthorizationIdentifier(AppAuthorizationIdentifierT &&value)
AWS_APPFABRIC_API ConnectAppAuthorizationRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String