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>
11#include <aws/robomaker/model/S3KeyOutput.h>
49 template<
typename NameT = Aws::String>
50 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
51 template<
typename NameT = Aws::String>
61 template<
typename S3BucketT = Aws::String>
62 void SetS3Bucket(S3BucketT&& value) { m_s3BucketHasBeenSet =
true; m_s3Bucket = std::forward<S3BucketT>(value); }
63 template<
typename S3BucketT = Aws::String>
73 template<
typename S3KeysT = Aws::Vector<S3KeyOutput>>
74 void SetS3Keys(S3KeysT&& value) { m_s3KeysHasBeenSet =
true; m_s3Keys = std::forward<S3KeysT>(value); }
75 template<
typename S3KeysT = Aws::Vector<S3KeyOutput>>
77 template<
typename S3KeysT = S3KeyOutput>
78 DataSource&
AddS3Keys(S3KeysT&& value) { m_s3KeysHasBeenSet =
true; m_s3Keys.emplace_back(std::forward<S3KeysT>(value));
return *
this; }
108 template<
typename DestinationT = Aws::String>
109 void SetDestination(DestinationT&& value) { m_destinationHasBeenSet =
true; m_destination = std::forward<DestinationT>(value); }
110 template<
typename DestinationT = Aws::String>
116 bool m_nameHasBeenSet =
false;
119 bool m_s3BucketHasBeenSet =
false;
122 bool m_s3KeysHasBeenSet =
false;
125 bool m_typeHasBeenSet =
false;
128 bool m_destinationHasBeenSet =
false;
AWS_ROBOMAKER_API DataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
DataSource & WithS3Keys(S3KeysT &&value)
void SetType(DataSourceType value)
DataSource & AddS3Keys(S3KeysT &&value)
void SetS3Keys(S3KeysT &&value)
AWS_ROBOMAKER_API DataSource(Aws::Utils::Json::JsonView jsonValue)
DataSource & WithDestination(DestinationT &&value)
bool S3BucketHasBeenSet() const
void SetS3Bucket(S3BucketT &&value)
const Aws::Vector< S3KeyOutput > & GetS3Keys() const
void SetName(NameT &&value)
bool DestinationHasBeenSet() const
DataSource & WithS3Bucket(S3BucketT &&value)
DataSource & WithType(DataSourceType value)
const Aws::String & GetDestination() const
AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
bool NameHasBeenSet() const
AWS_ROBOMAKER_API DataSource()=default
bool S3KeysHasBeenSet() const
DataSource & WithName(NameT &&value)
DataSourceType GetType() const
const Aws::String & GetName() const
bool TypeHasBeenSet() const
const Aws::String & GetS3Bucket() const
void SetDestination(DestinationT &&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