AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
ProtectedQueryDistributeOutputConfiguration.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/model/ProtectedQueryDistributeOutputConfigurationLocation.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace CleanRooms {
21namespace Model {
22
31 public:
32 AWS_CLEANROOMS_API ProtectedQueryDistributeOutputConfiguration() = default;
35 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
47 inline bool LocationsHasBeenSet() const { return m_locationsHasBeenSet; }
48 template <typename LocationsT = Aws::Vector<ProtectedQueryDistributeOutputConfigurationLocation>>
49 void SetLocations(LocationsT&& value) {
50 m_locationsHasBeenSet = true;
51 m_locations = std::forward<LocationsT>(value);
52 }
53 template <typename LocationsT = Aws::Vector<ProtectedQueryDistributeOutputConfigurationLocation>>
55 SetLocations(std::forward<LocationsT>(value));
56 return *this;
57 }
58 template <typename LocationsT = ProtectedQueryDistributeOutputConfigurationLocation>
60 m_locationsHasBeenSet = true;
61 m_locations.emplace_back(std::forward<LocationsT>(value));
62 return *this;
63 }
65 private:
67 bool m_locationsHasBeenSet = false;
68};
69
70} // namespace Model
71} // namespace CleanRooms
72} // namespace Aws
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
ProtectedQueryDistributeOutputConfiguration & WithLocations(LocationsT &&value)
ProtectedQueryDistributeOutputConfiguration & AddLocations(LocationsT &&value)
const Aws::Vector< ProtectedQueryDistributeOutputConfigurationLocation > & GetLocations() const
AWS_CLEANROOMS_API ProtectedQueryDistributeOutputConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMS_API ProtectedQueryDistributeOutputConfiguration(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue