AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
ConflictResolution.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
9#include <aws/customer-profiles/model/ConflictResolvingModel.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace CustomerProfiles {
21namespace Model {
22
30 public:
31 AWS_CUSTOMERPROFILES_API ConflictResolution() = default;
32 AWS_CUSTOMERPROFILES_API ConflictResolution(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CUSTOMERPROFILES_API ConflictResolution& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
46 inline ConflictResolvingModel GetConflictResolvingModel() const { return m_conflictResolvingModel; }
47 inline bool ConflictResolvingModelHasBeenSet() const { return m_conflictResolvingModelHasBeenSet; }
49 m_conflictResolvingModelHasBeenSet = true;
50 m_conflictResolvingModel = value;
51 }
54 return *this;
55 }
57
59
64 inline const Aws::String& GetSourceName() const { return m_sourceName; }
65 inline bool SourceNameHasBeenSet() const { return m_sourceNameHasBeenSet; }
66 template <typename SourceNameT = Aws::String>
67 void SetSourceName(SourceNameT&& value) {
68 m_sourceNameHasBeenSet = true;
69 m_sourceName = std::forward<SourceNameT>(value);
70 }
71 template <typename SourceNameT = Aws::String>
72 ConflictResolution& WithSourceName(SourceNameT&& value) {
73 SetSourceName(std::forward<SourceNameT>(value));
74 return *this;
75 }
77 private:
79
80 Aws::String m_sourceName;
81 bool m_conflictResolvingModelHasBeenSet = false;
82 bool m_sourceNameHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace CustomerProfiles
87} // namespace Aws
ConflictResolvingModel GetConflictResolvingModel() const
AWS_CUSTOMERPROFILES_API ConflictResolution()=default
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetConflictResolvingModel(ConflictResolvingModel value)
ConflictResolution & WithConflictResolvingModel(ConflictResolvingModel value)
AWS_CUSTOMERPROFILES_API ConflictResolution & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CUSTOMERPROFILES_API ConflictResolution(Aws::Utils::Json::JsonView jsonValue)
ConflictResolution & WithSourceName(SourceNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue