AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutApplicationAccessScopeRequest.h
1
6#pragma once
7#include <aws/sso-admin/SSOAdmin_EXPORTS.h>
8#include <aws/sso-admin/SSOAdminRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SSOAdmin
16{
17namespace Model
18{
19
23 {
24 public:
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 "PutApplicationAccessScope"; }
32
33 AWS_SSOADMIN_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetApplicationArn() const{ return m_applicationArn; }
44 inline bool ApplicationArnHasBeenSet() const { return m_applicationArnHasBeenSet; }
45 inline void SetApplicationArn(const Aws::String& value) { m_applicationArnHasBeenSet = true; m_applicationArn = value; }
46 inline void SetApplicationArn(Aws::String&& value) { m_applicationArnHasBeenSet = true; m_applicationArn = std::move(value); }
47 inline void SetApplicationArn(const char* value) { m_applicationArnHasBeenSet = true; m_applicationArn.assign(value); }
49 inline PutApplicationAccessScopeRequest& WithApplicationArn(Aws::String&& value) { SetApplicationArn(std::move(value)); return *this;}
50 inline PutApplicationAccessScopeRequest& WithApplicationArn(const char* value) { SetApplicationArn(value); return *this;}
52
54
58 inline const Aws::Vector<Aws::String>& GetAuthorizedTargets() const{ return m_authorizedTargets; }
59 inline bool AuthorizedTargetsHasBeenSet() const { return m_authorizedTargetsHasBeenSet; }
60 inline void SetAuthorizedTargets(const Aws::Vector<Aws::String>& value) { m_authorizedTargetsHasBeenSet = true; m_authorizedTargets = value; }
61 inline void SetAuthorizedTargets(Aws::Vector<Aws::String>&& value) { m_authorizedTargetsHasBeenSet = true; m_authorizedTargets = std::move(value); }
64 inline PutApplicationAccessScopeRequest& AddAuthorizedTargets(const Aws::String& value) { m_authorizedTargetsHasBeenSet = true; m_authorizedTargets.push_back(value); return *this; }
65 inline PutApplicationAccessScopeRequest& AddAuthorizedTargets(Aws::String&& value) { m_authorizedTargetsHasBeenSet = true; m_authorizedTargets.push_back(std::move(value)); return *this; }
66 inline PutApplicationAccessScopeRequest& AddAuthorizedTargets(const char* value) { m_authorizedTargetsHasBeenSet = true; m_authorizedTargets.push_back(value); return *this; }
68
70
74 inline const Aws::String& GetScope() const{ return m_scope; }
75 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
76 inline void SetScope(const Aws::String& value) { m_scopeHasBeenSet = true; m_scope = value; }
77 inline void SetScope(Aws::String&& value) { m_scopeHasBeenSet = true; m_scope = std::move(value); }
78 inline void SetScope(const char* value) { m_scopeHasBeenSet = true; m_scope.assign(value); }
79 inline PutApplicationAccessScopeRequest& WithScope(const Aws::String& value) { SetScope(value); return *this;}
80 inline PutApplicationAccessScopeRequest& WithScope(Aws::String&& value) { SetScope(std::move(value)); return *this;}
81 inline PutApplicationAccessScopeRequest& WithScope(const char* value) { SetScope(value); return *this;}
83 private:
84
85 Aws::String m_applicationArn;
86 bool m_applicationArnHasBeenSet = false;
87
88 Aws::Vector<Aws::String> m_authorizedTargets;
89 bool m_authorizedTargetsHasBeenSet = false;
90
91 Aws::String m_scope;
92 bool m_scopeHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace SSOAdmin
97} // namespace Aws
PutApplicationAccessScopeRequest & WithApplicationArn(Aws::String &&value)
void SetAuthorizedTargets(const Aws::Vector< Aws::String > &value)
AWS_SSOADMIN_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PutApplicationAccessScopeRequest & WithAuthorizedTargets(const Aws::Vector< Aws::String > &value)
PutApplicationAccessScopeRequest & WithScope(Aws::String &&value)
PutApplicationAccessScopeRequest & WithScope(const Aws::String &value)
PutApplicationAccessScopeRequest & WithApplicationArn(const Aws::String &value)
AWS_SSOADMIN_API Aws::String SerializePayload() const override
PutApplicationAccessScopeRequest & AddAuthorizedTargets(const char *value)
PutApplicationAccessScopeRequest & AddAuthorizedTargets(const Aws::String &value)
PutApplicationAccessScopeRequest & WithAuthorizedTargets(Aws::Vector< Aws::String > &&value)
PutApplicationAccessScopeRequest & WithScope(const char *value)
PutApplicationAccessScopeRequest & WithApplicationArn(const char *value)
PutApplicationAccessScopeRequest & AddAuthorizedTargets(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector