AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
34
35
37
40 inline const Aws::String& GetKeyName() const { return m_keyName; }
41 template<typename KeyNameT = Aws::String>
42 void SetKeyName(KeyNameT&& value) { m_keyNameHasBeenSet = true; m_keyName = std::forward<KeyNameT>(value); }
43 template<typename KeyNameT = Aws::String>
44 AddProfileKeyResult& WithKeyName(KeyNameT&& value) { SetKeyName(std::forward<KeyNameT>(value)); return *this;}
46
48
51 inline const Aws::Vector<Aws::String>& GetValues() const { return m_values; }
52 template<typename ValuesT = Aws::Vector<Aws::String>>
53 void SetValues(ValuesT&& value) { m_valuesHasBeenSet = true; m_values = std::forward<ValuesT>(value); }
54 template<typename ValuesT = Aws::Vector<Aws::String>>
55 AddProfileKeyResult& WithValues(ValuesT&& value) { SetValues(std::forward<ValuesT>(value)); return *this;}
56 template<typename ValuesT = Aws::String>
57 AddProfileKeyResult& AddValues(ValuesT&& value) { m_valuesHasBeenSet = true; m_values.emplace_back(std::forward<ValuesT>(value)); return *this; }
59
61
62 inline const Aws::String& GetRequestId() const { return m_requestId; }
63 template<typename RequestIdT = Aws::String>
64 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
65 template<typename RequestIdT = Aws::String>
66 AddProfileKeyResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
68 private:
69
70 Aws::String m_keyName;
71 bool m_keyNameHasBeenSet = false;
72
74 bool m_valuesHasBeenSet = false;
75
76 Aws::String m_requestId;
77 bool m_requestIdHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace CustomerProfiles
82} // namespace Aws
AWS_CUSTOMERPROFILES_API AddProfileKeyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CUSTOMERPROFILES_API AddProfileKeyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Aws::String > & GetValues() const
AddProfileKeyResult & WithKeyName(KeyNameT &&value)
AWS_CUSTOMERPROFILES_API AddProfileKeyResult()=default
AddProfileKeyResult & WithRequestId(RequestIdT &&value)
AddProfileKeyResult & WithValues(ValuesT &&value)
AddProfileKeyResult & AddValues(ValuesT &&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