AWS SDK for C++  1.9.108
AWS SDK for C++
GetSampleDataResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace LookoutMetrics
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::Vector<Aws::String>& GetHeaderValues() const{ return m_headerValues; }
40 
44  inline void SetHeaderValues(const Aws::Vector<Aws::String>& value) { m_headerValues = value; }
45 
49  inline void SetHeaderValues(Aws::Vector<Aws::String>&& value) { m_headerValues = std::move(value); }
50 
54  inline GetSampleDataResult& WithHeaderValues(const Aws::Vector<Aws::String>& value) { SetHeaderValues(value); return *this;}
55 
59  inline GetSampleDataResult& WithHeaderValues(Aws::Vector<Aws::String>&& value) { SetHeaderValues(std::move(value)); return *this;}
60 
64  inline GetSampleDataResult& AddHeaderValues(const Aws::String& value) { m_headerValues.push_back(value); return *this; }
65 
69  inline GetSampleDataResult& AddHeaderValues(Aws::String&& value) { m_headerValues.push_back(std::move(value)); return *this; }
70 
74  inline GetSampleDataResult& AddHeaderValues(const char* value) { m_headerValues.push_back(value); return *this; }
75 
76 
80  inline const Aws::Vector<Aws::Vector<Aws::String>>& GetSampleRows() const{ return m_sampleRows; }
81 
85  inline void SetSampleRows(const Aws::Vector<Aws::Vector<Aws::String>>& value) { m_sampleRows = value; }
86 
90  inline void SetSampleRows(Aws::Vector<Aws::Vector<Aws::String>>&& value) { m_sampleRows = std::move(value); }
91 
95  inline GetSampleDataResult& WithSampleRows(const Aws::Vector<Aws::Vector<Aws::String>>& value) { SetSampleRows(value); return *this;}
96 
100  inline GetSampleDataResult& WithSampleRows(Aws::Vector<Aws::Vector<Aws::String>>&& value) { SetSampleRows(std::move(value)); return *this;}
101 
105  inline GetSampleDataResult& AddSampleRows(const Aws::Vector<Aws::String>& value) { m_sampleRows.push_back(value); return *this; }
106 
110  inline GetSampleDataResult& AddSampleRows(Aws::Vector<Aws::String>&& value) { m_sampleRows.push_back(std::move(value)); return *this; }
111 
112  private:
113 
114  Aws::Vector<Aws::String> m_headerValues;
115 
117  };
118 
119 } // namespace Model
120 } // namespace LookoutMetrics
121 } // namespace Aws
Aws::LookoutMetrics::Model::GetSampleDataResult::AddSampleRows
GetSampleDataResult & AddSampleRows(Aws::Vector< Aws::String > &&value)
Definition: GetSampleDataResult.h:110
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_LOOKOUTMETRICS_API
#define AWS_LOOKOUTMETRICS_API
Definition: LookoutMetrics_EXPORTS.h:28
Aws::LookoutMetrics::Model::GetSampleDataResult::GetHeaderValues
const Aws::Vector< Aws::String > & GetHeaderValues() const
Definition: GetSampleDataResult.h:39
Aws::LookoutMetrics::Model::GetSampleDataResult::WithHeaderValues
GetSampleDataResult & WithHeaderValues(Aws::Vector< Aws::String > &&value)
Definition: GetSampleDataResult.h:59
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::LookoutMetrics::Model::GetSampleDataResult::AddSampleRows
GetSampleDataResult & AddSampleRows(const Aws::Vector< Aws::String > &value)
Definition: GetSampleDataResult.h:105
Aws::LookoutMetrics::Model::GetSampleDataResult::WithHeaderValues
GetSampleDataResult & WithHeaderValues(const Aws::Vector< Aws::String > &value)
Definition: GetSampleDataResult.h:54
AWSVector.h
Aws::LookoutMetrics::Model::GetSampleDataResult
Definition: GetSampleDataResult.h:29
Aws::LookoutMetrics::Model::GetSampleDataResult::operator=
GetSampleDataResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
LookoutMetrics_EXPORTS.h
AWSString.h
Aws::LookoutMetrics::Model::GetSampleDataResult::AddHeaderValues
GetSampleDataResult & AddHeaderValues(const char *value)
Definition: GetSampleDataResult.h:74
Aws::LookoutMetrics::Model::GetSampleDataResult::AddHeaderValues
GetSampleDataResult & AddHeaderValues(Aws::String &&value)
Definition: GetSampleDataResult.h:69
Aws::LookoutMetrics::Model::GetSampleDataResult::GetSampleDataResult
GetSampleDataResult()
Aws::LookoutMetrics::Model::GetSampleDataResult::GetSampleRows
const Aws::Vector< Aws::Vector< Aws::String > > & GetSampleRows() const
Definition: GetSampleDataResult.h:80
Aws::LookoutMetrics::Model::GetSampleDataResult::SetHeaderValues
void SetHeaderValues(Aws::Vector< Aws::String > &&value)
Definition: GetSampleDataResult.h:49
Aws
Definition: AccessManagementClient.h:15
Aws::LookoutMetrics::Model::GetSampleDataResult::SetHeaderValues
void SetHeaderValues(const Aws::Vector< Aws::String > &value)
Definition: GetSampleDataResult.h:44
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::LookoutMetrics::Model::GetSampleDataResult::SetSampleRows
void SetSampleRows(Aws::Vector< Aws::Vector< Aws::String >> &&value)
Definition: GetSampleDataResult.h:90
Aws::LookoutMetrics::Model::GetSampleDataResult::AddHeaderValues
GetSampleDataResult & AddHeaderValues(const Aws::String &value)
Definition: GetSampleDataResult.h:64
Aws::LookoutMetrics::Model::GetSampleDataResult::WithSampleRows
GetSampleDataResult & WithSampleRows(const Aws::Vector< Aws::Vector< Aws::String >> &value)
Definition: GetSampleDataResult.h:95
Aws::LookoutMetrics::Model::GetSampleDataResult::SetSampleRows
void SetSampleRows(const Aws::Vector< Aws::Vector< Aws::String >> &value)
Definition: GetSampleDataResult.h:85
Aws::LookoutMetrics::Model::GetSampleDataResult::WithSampleRows
GetSampleDataResult & WithSampleRows(Aws::Vector< Aws::Vector< Aws::String >> &&value)
Definition: GetSampleDataResult.h:100
Aws::LookoutMetrics::Model::GetSampleDataResult::GetSampleDataResult
GetSampleDataResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)