AWS SDK for C++  1.9.71
AWS SDK for C++
BatchGetVariableRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace FraudDetector
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "BatchGetVariable"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::Vector<Aws::String>& GetNames() const{ return m_names; }
42 
46  inline bool NamesHasBeenSet() const { return m_namesHasBeenSet; }
47 
51  inline void SetNames(const Aws::Vector<Aws::String>& value) { m_namesHasBeenSet = true; m_names = value; }
52 
56  inline void SetNames(Aws::Vector<Aws::String>&& value) { m_namesHasBeenSet = true; m_names = std::move(value); }
57 
61  inline BatchGetVariableRequest& WithNames(const Aws::Vector<Aws::String>& value) { SetNames(value); return *this;}
62 
66  inline BatchGetVariableRequest& WithNames(Aws::Vector<Aws::String>&& value) { SetNames(std::move(value)); return *this;}
67 
71  inline BatchGetVariableRequest& AddNames(const Aws::String& value) { m_namesHasBeenSet = true; m_names.push_back(value); return *this; }
72 
76  inline BatchGetVariableRequest& AddNames(Aws::String&& value) { m_namesHasBeenSet = true; m_names.push_back(std::move(value)); return *this; }
77 
81  inline BatchGetVariableRequest& AddNames(const char* value) { m_namesHasBeenSet = true; m_names.push_back(value); return *this; }
82 
83  private:
84 
86  bool m_namesHasBeenSet;
87  };
88 
89 } // namespace Model
90 } // namespace FraudDetector
91 } // namespace Aws
Aws::FraudDetector::Model::BatchGetVariableRequest::WithNames
BatchGetVariableRequest & WithNames(const Aws::Vector< Aws::String > &value)
Definition: BatchGetVariableRequest.h:61
FraudDetectorRequest.h
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::BatchGetVariableRequest::AddNames
BatchGetVariableRequest & AddNames(Aws::String &&value)
Definition: BatchGetVariableRequest.h:76
Aws::FraudDetector::Model::BatchGetVariableRequest::SetNames
void SetNames(Aws::Vector< Aws::String > &&value)
Definition: BatchGetVariableRequest.h:56
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::FraudDetector::Model::BatchGetVariableRequest::BatchGetVariableRequest
BatchGetVariableRequest()
AWSVector.h
Aws::FraudDetector::FraudDetectorRequest
Definition: FraudDetectorRequest.h:17
Aws::FraudDetector::Model::BatchGetVariableRequest::NamesHasBeenSet
bool NamesHasBeenSet() const
Definition: BatchGetVariableRequest.h:46
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::BatchGetVariableRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::FraudDetector::Model::BatchGetVariableRequest::GetNames
const Aws::Vector< Aws::String > & GetNames() const
Definition: BatchGetVariableRequest.h:41
AWSString.h
Aws::FraudDetector::Model::BatchGetVariableRequest
Definition: BatchGetVariableRequest.h:23
Aws::FraudDetector::Model::BatchGetVariableRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::BatchGetVariableRequest::AddNames
BatchGetVariableRequest & AddNames(const Aws::String &value)
Definition: BatchGetVariableRequest.h:71
Aws::FraudDetector::Model::BatchGetVariableRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: BatchGetVariableRequest.h:31
Aws::FraudDetector::Model::BatchGetVariableRequest::AddNames
BatchGetVariableRequest & AddNames(const char *value)
Definition: BatchGetVariableRequest.h:81
Aws::FraudDetector::Model::BatchGetVariableRequest::WithNames
BatchGetVariableRequest & WithNames(Aws::Vector< Aws::String > &&value)
Definition: BatchGetVariableRequest.h:66
Aws::FraudDetector::Model::BatchGetVariableRequest::SetNames
void SetNames(const Aws::Vector< Aws::String > &value)
Definition: BatchGetVariableRequest.h:51