AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AddProfileKeyResult.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace CustomerProfiles
25{
26namespace Model
27{
29 {
30 public:
31 AWS_CUSTOMERPROFILES_API AddProfileKeyResult();
34
35
37
40 inline const Aws::String& GetKeyName() const{ return m_keyName; }
41 inline void SetKeyName(const Aws::String& value) { m_keyName = value; }
42 inline void SetKeyName(Aws::String&& value) { m_keyName = std::move(value); }
43 inline void SetKeyName(const char* value) { m_keyName.assign(value); }
44 inline AddProfileKeyResult& WithKeyName(const Aws::String& value) { SetKeyName(value); return *this;}
45 inline AddProfileKeyResult& WithKeyName(Aws::String&& value) { SetKeyName(std::move(value)); return *this;}
46 inline AddProfileKeyResult& WithKeyName(const char* value) { SetKeyName(value); return *this;}
48
50
53 inline const Aws::Vector<Aws::String>& GetValues() const{ return m_values; }
54 inline void SetValues(const Aws::Vector<Aws::String>& value) { m_values = value; }
55 inline void SetValues(Aws::Vector<Aws::String>&& value) { m_values = std::move(value); }
56 inline AddProfileKeyResult& WithValues(const Aws::Vector<Aws::String>& value) { SetValues(value); return *this;}
57 inline AddProfileKeyResult& WithValues(Aws::Vector<Aws::String>&& value) { SetValues(std::move(value)); return *this;}
58 inline AddProfileKeyResult& AddValues(const Aws::String& value) { m_values.push_back(value); return *this; }
59 inline AddProfileKeyResult& AddValues(Aws::String&& value) { m_values.push_back(std::move(value)); return *this; }
60 inline AddProfileKeyResult& AddValues(const char* value) { m_values.push_back(value); return *this; }
62
64
65 inline const Aws::String& GetRequestId() const{ return m_requestId; }
66 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
67 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
68 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
69 inline AddProfileKeyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
70 inline AddProfileKeyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
71 inline AddProfileKeyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
73 private:
74
75 Aws::String m_keyName;
76
78
79 Aws::String m_requestId;
80 };
81
82} // namespace Model
83} // namespace CustomerProfiles
84} // namespace Aws
AddProfileKeyResult & AddValues(const char *value)
void SetValues(Aws::Vector< Aws::String > &&value)
AWS_CUSTOMERPROFILES_API AddProfileKeyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AddProfileKeyResult & WithValues(Aws::Vector< Aws::String > &&value)
AWS_CUSTOMERPROFILES_API AddProfileKeyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Aws::String > & GetValues() const
AddProfileKeyResult & AddValues(const Aws::String &value)
AddProfileKeyResult & WithKeyName(const char *value)
AddProfileKeyResult & WithRequestId(const Aws::String &value)
AddProfileKeyResult & WithValues(const Aws::Vector< Aws::String > &value)
AddProfileKeyResult & WithRequestId(Aws::String &&value)
AddProfileKeyResult & WithRequestId(const char *value)
void SetValues(const Aws::Vector< Aws::String > &value)
AddProfileKeyResult & AddValues(Aws::String &&value)
AddProfileKeyResult & WithKeyName(const Aws::String &value)
AddProfileKeyResult & WithKeyName(Aws::String &&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