AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AuthorizedTargetsByService.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/ServiceType.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_QUICKSIGHT_API AuthorizedTargetsByService();
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const ServiceType& GetService() const{ return m_service; }
48 inline bool ServiceHasBeenSet() const { return m_serviceHasBeenSet; }
49 inline void SetService(const ServiceType& value) { m_serviceHasBeenSet = true; m_service = value; }
50 inline void SetService(ServiceType&& value) { m_serviceHasBeenSet = true; m_service = std::move(value); }
51 inline AuthorizedTargetsByService& WithService(const ServiceType& value) { SetService(value); return *this;}
52 inline AuthorizedTargetsByService& WithService(ServiceType&& value) { SetService(std::move(value)); return *this;}
54
56
60 inline const Aws::Vector<Aws::String>& GetAuthorizedTargets() const{ return m_authorizedTargets; }
61 inline bool AuthorizedTargetsHasBeenSet() const { return m_authorizedTargetsHasBeenSet; }
62 inline void SetAuthorizedTargets(const Aws::Vector<Aws::String>& value) { m_authorizedTargetsHasBeenSet = true; m_authorizedTargets = value; }
63 inline void SetAuthorizedTargets(Aws::Vector<Aws::String>&& value) { m_authorizedTargetsHasBeenSet = true; m_authorizedTargets = std::move(value); }
66 inline AuthorizedTargetsByService& AddAuthorizedTargets(const Aws::String& value) { m_authorizedTargetsHasBeenSet = true; m_authorizedTargets.push_back(value); return *this; }
67 inline AuthorizedTargetsByService& AddAuthorizedTargets(Aws::String&& value) { m_authorizedTargetsHasBeenSet = true; m_authorizedTargets.push_back(std::move(value)); return *this; }
68 inline AuthorizedTargetsByService& AddAuthorizedTargets(const char* value) { m_authorizedTargetsHasBeenSet = true; m_authorizedTargets.push_back(value); return *this; }
70 private:
71
72 ServiceType m_service;
73 bool m_serviceHasBeenSet = false;
74
75 Aws::Vector<Aws::String> m_authorizedTargets;
76 bool m_authorizedTargetsHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace QuickSight
81} // namespace Aws
void SetAuthorizedTargets(Aws::Vector< Aws::String > &&value)
AuthorizedTargetsByService & AddAuthorizedTargets(Aws::String &&value)
AuthorizedTargetsByService & AddAuthorizedTargets(const Aws::String &value)
void SetAuthorizedTargets(const Aws::Vector< Aws::String > &value)
AWS_QUICKSIGHT_API AuthorizedTargetsByService(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetAuthorizedTargets() const
AuthorizedTargetsByService & WithService(ServiceType &&value)
AuthorizedTargetsByService & AddAuthorizedTargets(const char *value)
AuthorizedTargetsByService & WithService(const ServiceType &value)
AuthorizedTargetsByService & WithAuthorizedTargets(Aws::Vector< Aws::String > &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AuthorizedTargetsByService & WithAuthorizedTargets(const Aws::Vector< Aws::String > &value)
AWS_QUICKSIGHT_API AuthorizedTargetsByService & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue