7#include <aws/robomaker/RoboMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/robomaker/model/DataSourceType.h>
48 template<
typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
50 template<
typename NameT = Aws::String>
60 template<
typename S3BucketT = Aws::String>
61 void SetS3Bucket(S3BucketT&& value) { m_s3BucketHasBeenSet =
true; m_s3Bucket = std::forward<S3BucketT>(value); }
62 template<
typename S3BucketT = Aws::String>
72 template<
typename S3KeysT = Aws::Vector<Aws::String>>
73 void SetS3Keys(S3KeysT&& value) { m_s3KeysHasBeenSet =
true; m_s3Keys = std::forward<S3KeysT>(value); }
74 template<
typename S3KeysT = Aws::Vector<Aws::String>>
76 template<
typename S3KeysT = Aws::String>
77 DataSourceConfig&
AddS3Keys(S3KeysT&& value) { m_s3KeysHasBeenSet =
true; m_s3Keys.emplace_back(std::forward<S3KeysT>(value));
return *
this; }
107 template<
typename DestinationT = Aws::String>
108 void SetDestination(DestinationT&& value) { m_destinationHasBeenSet =
true; m_destination = std::forward<DestinationT>(value); }
109 template<
typename DestinationT = Aws::String>
115 bool m_nameHasBeenSet =
false;
118 bool m_s3BucketHasBeenSet =
false;
121 bool m_s3KeysHasBeenSet =
false;
124 bool m_typeHasBeenSet =
false;
127 bool m_destinationHasBeenSet =
false;
DataSourceType GetType() const
AWS_ROBOMAKER_API DataSourceConfig()=default
void SetS3Keys(S3KeysT &&value)
bool TypeHasBeenSet() const
DataSourceConfig & WithS3Bucket(S3BucketT &&value)
AWS_ROBOMAKER_API DataSourceConfig(Aws::Utils::Json::JsonView jsonValue)
bool S3BucketHasBeenSet() const
void SetType(DataSourceType value)
AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetName() const
DataSourceConfig & WithS3Keys(S3KeysT &&value)
void SetS3Bucket(S3BucketT &&value)
bool DestinationHasBeenSet() const
void SetDestination(DestinationT &&value)
const Aws::Vector< Aws::String > & GetS3Keys() const
DataSourceConfig & WithDestination(DestinationT &&value)
AWS_ROBOMAKER_API DataSourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDestination() const
bool NameHasBeenSet() const
DataSourceConfig & WithType(DataSourceType value)
void SetName(NameT &&value)
bool S3KeysHasBeenSet() const
const Aws::String & GetS3Bucket() const
DataSourceConfig & WithName(NameT &&value)
DataSourceConfig & AddS3Keys(S3KeysT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue